File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,23 @@ jobs:
120
120
image : ${{ needs.prepare.outputs.image }}
121
121
torch-artifact : ${{ needs.build-torch.outputs.torch-artifact }}
122
122
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
+
123
140
torchtitan :
124
141
name : Run torchtitan
125
142
needs :
You can’t perform that action at this time.
0 commit comments