File tree Expand file tree Collapse file tree 2 files changed +21
-21
lines changed
Expand file tree Collapse file tree 2 files changed +21
-21
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }}
You can’t perform that action at this time.
0 commit comments