File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1616 type : string
1717 description : ' The device selected to run on'
1818 torch-artifact :
19- required : true
19+ required : false
2020 type : string
2121 description : ' The distribution artifact name of torch'
2222 torch-npu-artifact :
Original file line number Diff line number Diff line change 7272 run : |
7373 git log -n 10 --graph | cat
7474
75- - name : Install pip dependencies
75+ - name : Install torch dependencies
7676 working-directory : pytorch
7777 run : |
7878 pip install -r requirements.txt
Original file line number Diff line number Diff line change 7272 submodules : recursive
7373 path : torch_npu
7474
75- - name : Install pip dependencies
75+ - name : Install torch_npu dependencies
7676 working-directory : torch_npu
7777 run : |
7878 pip install wheel
Original file line number Diff line number Diff line change 1616 type : string
1717 description : ' The device selected to run on'
1818 torch-artifact :
19- required : true
19+ required : false
2020 type : string
2121 description : ' The distribution artifact name of torch'
2222 torch-npu-artifact :
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116116 needs :
117117 - prepare
118118 - build-torch
119- if : ${{ always () }}
119+ if : ${{ success () || needs.build-torch.result == 'skipped' }}
120120 uses : ./.github/workflows/_ascend_npu_build_torch_npu.yml
121121 with :
122122 runner : ${{ needs.prepare.outputs.runner }}
@@ -129,6 +129,7 @@ jobs:
129129 - prepare
130130 - build-torch
131131 - build
132+ if : ${{ success() || needs.build-torch.result == 'skipped'}}
132133 uses : ./.github/workflows/_ascend_npu_ut.yml
133134 with :
134135 runner : ${{ needs.prepare.outputs.runner }}
@@ -144,6 +145,7 @@ jobs:
144145 - build-torch
145146 - build
146147 - test
148+ if : ${{ success() || needs.build-torch.result == 'skipped'}}
147149 uses : ./.github/workflows/_ascend_npu_benchmark.yml
148150 with :
149151 runner : ${{ needs.prepare.outputs.runner }}
You can’t perform that action at this time.
0 commit comments