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 @@ -136,3 +136,20 @@ jobs:
136
136
torch-artifact : ${{ needs.build-torch.outputs.torch-artifact }}
137
137
torch-npu-artifact : ${{ needs.build.outputs.torch-npu-artifact }}
138
138
139
+ benchmark :
140
+ name : Run benchmarks
141
+ needs :
142
+ - prepare
143
+ - build-torch
144
+ - build
145
+ if : |
146
+ !cancelled() && github.event_name != 'repository_dispatch' &&
147
+ (success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success'))
148
+ uses : ./.github/workflows/_ascend_npu_benchmark.yml
149
+ with :
150
+ runner : ${{ needs.prepare.outputs.runner }}
151
+ image : ${{ needs.prepare.outputs.image }}
152
+ torch-artifact : ${{ needs.build-torch.outputs.torch-artifact }}
153
+ torch-npu-artifact : ${{ needs.build.outputs.torch-npu-artifact }}
154
+ secrets :
155
+ pr-token : ${{ secrets.COSDT_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments