Skip to content

Commit 8c38787

Browse files
committed
update
1 parent 8b1b831 commit 8c38787

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
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:

.github/workflows/_ascend_npu_build_torch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
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

.github/workflows/_ascend_npu_build_torch_npu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
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

.github/workflows/_ascend_npu_ut.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
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:

.github/workflows/ascend_npu_test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)