Skip to content

Commit 7a515a4

Browse files
committed
titan test
1 parent 964ca76 commit 7a515a4

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ascend_npu_test.yml

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

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

0 commit comments

Comments
 (0)