@@ -73,34 +73,36 @@ jobs:
7373          echo "device=${{ github.event.inputs.device || '/dev/davinci5' }}" >> $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 }}
84- # 
85- #   test:
86- #     name: Test torch_npu
87- #     needs:
88- #       - prepare
89- #       - build
90- #     uses: ./.github/workflows/_ascend_npu_test.yml
91- #     with:
92- #       runner: ${{ needs.prepare.outputs.runner }}
93- #       image: ${{ needs.prepare.outputs.image }}
94- #       device: ${{ needs.prepare.outputs.device }}
95- #       artifact_name: ${{ needs.build.outputs.artifact_name }}
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 }} 
84+ 
85+   test :
86+     name : Test torch_npu 
87+     needs :
88+       - prepare 
89+       - build 
90+     uses : ./.github/workflows/_ascend_npu_test.yml 
91+     with :
92+       runner : ${{ needs.prepare.outputs.runner }} 
93+       image : ${{ needs.prepare.outputs.image }} 
94+       device : ${{ needs.prepare.outputs.device }} 
95+       artifact_name : ${{ needs.build.outputs.artifact_name }} 
9696
9797  benchmark :
9898    name : Run benchmarks 
9999    needs :
100100      - prepare 
101+       - build 
102+       - test 
101103    uses : ./.github/workflows/_ascend_npu_benchmark.yml 
102104    with :
103105      runner : ${{ needs.prepare.outputs.runner }} 
104106      image : ${{ needs.prepare.outputs.image }} 
105107      device : ${{ needs.prepare.outputs.device }} 
106-       artifact_name : ' torch_npu-2.6.0+git69ceea7-cp310-cp310-linux_aarch64.whl ' 
108+       artifact_name : ${{ needs.build.outputs.artifact_name }} 
0 commit comments