Skip to content

Commit 80652de

Browse files
committed
titan test
1 parent 50588c8 commit 80652de

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ascend_npu_test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,23 @@ jobs:
120120
image: ${{ needs.prepare.outputs.image }}
121121
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
122122

123+
test:
124+
name: Test torch_npu
125+
needs:
126+
- prepare
127+
- build-torch
128+
- build
129+
if: |
130+
!cancelled() && github.event_name != 'repository_dispatch' &&
131+
(success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success'))
132+
uses: ./.github/workflows/_ascend_npu_ut.yml
133+
with:
134+
runner: ${{ needs.prepare.outputs.runner }}
135+
image: ${{ needs.prepare.outputs.image }}
136+
device: ${{ needs.prepare.outputs.device }}
137+
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
138+
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
139+
123140
torchtitan:
124141
name: Run torchtitan
125142
needs:

0 commit comments

Comments
 (0)