Skip to content

Commit 6768848

Browse files
committed
update
1 parent b3325df commit 6768848

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/ascend_npu_test.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ jobs:
7373
echo "device=${{ github.event.inputs.device || '/dev/davinci4' }}" >> $GITHUB_OUTPUT
7474
echo "image=${{ github.event.inputs.image || 'ascendai/cann:latest' }}" >> $GITHUB_OUTPUT
7575
76-
# build:
77-
# name: Build torch_npu
78-
# needs:
79-
# - prepare
80-
# uses: ./.github/workflows/_ascend_npu_build.yml
81-
# with:
82-
# runner: ${{ needs.prepare.outputs.runner }}
83-
# image: ${{ needs.prepare.outputs.image }}
76+
build:
77+
name: Build torch_npu
78+
needs:
79+
- prepare
80+
uses: ./.github/workflows/_ascend_npu_build.yml
81+
with:
82+
runner: ${{ needs.prepare.outputs.runner }}
83+
image: ${{ needs.prepare.outputs.image }}
8484

8585
# test:
8686
# name: Test torch_npu
@@ -98,9 +98,10 @@ jobs:
9898
name: Run benchmarks
9999
needs:
100100
- prepare
101+
- build
101102
uses: ./.github/workflows/_ascend_npu_benchmark.yml
102103
with:
103104
runner: ${{ needs.prepare.outputs.runner }}
104105
image: ${{ needs.prepare.outputs.image }}
105106
device: ${{ needs.prepare.outputs.device }}
106-
artifact_name: 'torch_npu-2.6.0+git69ceea7-cp310-cp310-linux_aarch64.whl'
107+
artifact_name: ${{ needs.build.outputs.artifact_name }}

0 commit comments

Comments
 (0)