Skip to content

Commit 3e35cef

Browse files
authored
Merge branch 'main' into main
2 parents 1c81199 + 752c495 commit 3e35cef

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180

181181
create-pr:
182182
if: ${{ needs.benchmark.outputs.changed == 'true' }}
183-
name: Create a pull request for changes to README.md
183+
name: Update benchmark result
184184
runs-on: ubuntu-latest
185185
needs:
186186
- benchmark
@@ -194,7 +194,7 @@ jobs:
194194
name: README.md
195195

196196
# 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
198198
uses: peter-evans/create-pull-request@v7
199199
with:
200200
token: ${{ secrets.pr-token }}
@@ -214,5 +214,5 @@ jobs:
214214
[1]: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
215215
[2]: ${{ needs.benchmark.outputs.report-url }}
216216
217-
cc: @Yikun @hipudding @FFFrog @Zhenbin-8 @zeshengzong @wjunLu @MengqingCao @shink
218-
reviewers: shink
217+
cc: @FFFrog @zeshengzong
218+
reviewers: zeshengzong

.github/workflows/_ascend_npu_build_torch_npu.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ on:
1919
torch-npu-artifact:
2020
description: "The distribution artifact name of torch_npu"
2121
value: ${{ jobs.build.outputs.dist-name }}
22-
secrets:
23-
runner-token:
24-
description: "A token used to pull private repo"
25-
required: true
2622

2723
jobs:
2824
build:
@@ -51,15 +47,14 @@ jobs:
5147
5248
- name: Checkout
5349
uses: actions/checkout@v4
54-
with:
55-
token: ${{ secrets.runner-token }}
5650

5751
- name: Checkout torch_npu
5852
uses: actions/checkout@v4
5953
with:
6054
repository: Ascend/pytorch
6155
submodules: recursive
6256
path: torch_npu
57+
ref: d33df559f6aa3c73c44e9c3a9bed3490faf07566
6358

6459
- name: Install torch_npu dependencies
6560
working-directory: torch_npu
@@ -117,7 +112,6 @@ jobs:
117112
- name: List torch_npu version
118113
id: list-version
119114
run: |
120-
sleep 3600
121115
torch_version=$(python -c "import torch; print(torch.__version__)")
122116
torch_npu_version=$(python -c "import torch_npu; print(torch_npu.__version__)")
123117
echo "torch version: ${torch_version}"

.github/workflows/ascend_npu_test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ jobs:
116116
runner: ${{ needs.prepare.outputs.runner }}
117117
image: ${{ needs.prepare.outputs.image }}
118118
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
119-
secrets:
120-
runner-token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
121119

122120
test:
123121
name: Test torch_npu

0 commit comments

Comments
 (0)