Skip to content

Commit 64965e2

Browse files
committed
Restore execution benchmark
1 parent 86872e3 commit 64965e2

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/ascend_npu_test.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -133,23 +133,23 @@ jobs:
133133
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
134134
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
135135

136-
# benchmark:
137-
# name: Run benchmarks
138-
# needs:
139-
# - prepare
140-
# - build-torch
141-
# - build
142-
# if: |
143-
# !cancelled() && github.event_name != 'repository_dispatch' &&
144-
# (success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success'))
145-
# uses: ./.github/workflows/_ascend_npu_benchmark.yml
146-
# with:
147-
# runner: ${{ needs.prepare.outputs.runner }}
148-
# image: ${{ needs.prepare.outputs.image }}
149-
# torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
150-
# torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
151-
# secrets:
152-
# pr-token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
136+
benchmark:
137+
name: Run benchmarks
138+
needs:
139+
- prepare
140+
- build-torch
141+
- build
142+
if: |
143+
!cancelled() && github.event_name != 'repository_dispatch' &&
144+
(success() || (needs.build-torch.result == 'skipped' && needs.build.result == 'success'))
145+
uses: ./.github/workflows/_ascend_npu_benchmark.yml
146+
with:
147+
runner: ${{ needs.prepare.outputs.runner }}
148+
image: ${{ needs.prepare.outputs.image }}
149+
torch-artifact: ${{ needs.build-torch.outputs.torch-artifact }}
150+
torch-npu-artifact: ${{ needs.build.outputs.torch-npu-artifact }}
151+
secrets:
152+
pr-token: ${{ secrets.ASCEND_RUNNER_TOKEN }}
153153

154154
torchtune:
155155
name: Run torchtune

0 commit comments

Comments
 (0)