Skip to content

Commit 3f997d2

Browse files
committed
tmp
1 parent 3d38da7 commit 3f997d2

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,14 @@ jobs:
138138
torch==${{ steps.list-torch-version.outputs.torch-version }} \
139139
numpy==1.*
140140
141-
- name: Install nightly torchvision and torchaudio
142-
run: |
143-
pip install --pre torchvision torchaudio --no-deps --index-url https://download.pytorch.org/whl/nightly/cpu
144-
145141
- name: Install dependencies for all the models
146142
run: |
147143
python benchmark/install.py --userbenchmark test_bench --continue_on_fail
148144
145+
- name: Install nightly torchvision and torchaudio
146+
run: |
147+
pip install --pre torchvision torchaudio --no-deps --index-url https://download.pytorch.org/whl/nightly/cpu
148+
149149
- name: Install project dependencies
150150
run: |
151151
pip install -r requirements.txt

.github/workflows/ascend_npu_test.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,20 @@ jobs:
138138
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
139139
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
140140

141-
benchmark:
142-
name: Run benchmarks
143-
needs:
144-
- prepare
145-
- build-torch
146-
- build
147-
- test
148-
if: ${{ success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success') }}
149-
uses: ./.github/workflows/_ascend_npu_benchmark.yml
150-
with:
151-
runner: ${{ needs.prepare.outputs.runner }}
152-
image: ${{ needs.prepare.outputs.image }}
153-
device: ${{ needs.prepare.outputs.device }}
154-
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
155-
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
156-
secrets:
157-
pr-token: ${{ secrets.COSDT_BOT_TOKEN }}
141+
# benchmark:
142+
# name: Run benchmarks
143+
# needs:
144+
# - prepare
145+
# - build-torch
146+
# - build
147+
# - test
148+
# if: ${{ success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success') }}
149+
# uses: ./.github/workflows/_ascend_npu_benchmark.yml
150+
# with:
151+
# runner: ${{ needs.prepare.outputs.runner }}
152+
# image: ${{ needs.prepare.outputs.image }}
153+
# device: ${{ needs.prepare.outputs.device }}
154+
# torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
155+
# torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
156+
# secrets:
157+
# pr-token: ${{ secrets.COSDT_BOT_TOKEN }}

0 commit comments

Comments
 (0)