File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ jobs:
180
180
181
181
create-pr :
182
182
if : ${{ needs.benchmark.outputs.changed == 'true' }}
183
- name : Create a pull request for changes to README.md
183
+ name : Update benchmark result
184
184
runs-on : ubuntu-latest
185
185
needs :
186
186
- benchmark
@@ -194,7 +194,7 @@ jobs:
194
194
name : README.md
195
195
196
196
# See: https://github.com/peter-evans/create-pull-request
197
- - name : Create a pull request for changes to README.md
197
+ - name : Create a pull request to update benchmark result
198
198
uses : peter-evans/create-pull-request@v7
199
199
with :
200
200
token : ${{ secrets.pr-token }}
@@ -214,5 +214,5 @@ jobs:
214
214
[1]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
215
215
[2]: ${{ needs.benchmark.outputs.report-url }}
216
216
217
- cc: @Yikun @hipudding @ FFFrog @Zhenbin-8 @ zeshengzong @wjunLu @MengqingCao @shink
218
- reviewers : shink
217
+ cc: @FFFrog @zeshengzong
218
+ reviewers : zeshengzong
Original file line number Diff line number Diff line change 19
19
torch-npu-artifact :
20
20
description : " The distribution artifact name of torch_npu"
21
21
value : ${{ jobs.build.outputs.dist-name }}
22
- secrets :
23
- runner-token :
24
- description : " A token used to pull private repo"
25
- required : true
26
22
27
23
jobs :
28
24
build :
@@ -51,15 +47,14 @@ jobs:
51
47
52
48
- name : Checkout
53
49
uses : actions/checkout@v4
54
- with :
55
- token : ${{ secrets.runner-token }}
56
50
57
51
- name : Checkout torch_npu
58
52
uses : actions/checkout@v4
59
53
with :
60
54
repository : Ascend/pytorch
61
55
submodules : recursive
62
56
path : torch_npu
57
+ ref : d33df559f6aa3c73c44e9c3a9bed3490faf07566
63
58
64
59
- name : Install torch_npu dependencies
65
60
working-directory : torch_npu
@@ -117,7 +112,6 @@ jobs:
117
112
- name : List torch_npu version
118
113
id : list-version
119
114
run : |
120
- sleep 3600
121
115
torch_version=$(python -c "import torch; print(torch.__version__)")
122
116
torch_npu_version=$(python -c "import torch_npu; print(torch_npu.__version__)")
123
117
echo "torch version: ${torch_version}"
Original file line number Diff line number Diff line change @@ -116,8 +116,6 @@ jobs:
116
116
runner : ${{ needs.prepare.outputs.runner }}
117
117
image : ${{ needs.prepare.outputs.image }}
118
118
torch-artifact : ${{ needs.build-torch.outputs.torch-artifact }}
119
- secrets :
120
- runner-token : ${{ secrets.ASCEND_RUNNER_TOKEN }}
121
119
122
120
test :
123
121
name : Test torch_npu
You can’t perform that action at this time.
0 commit comments