Skip to content

Commit 50588c8

Browse files
committed
Revert "run as fast as possible"
This reverts commit 17771c9.
1 parent 17771c9 commit 50588c8

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
@@ -136,3 +136,20 @@ jobs:
136136
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
137137
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
138138

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 }}

0 commit comments

Comments
 (0)