Skip to content

Commit 53f84ec

Browse files
committed
skip build
1 parent 917487e commit 53f84ec

File tree

2 files changed

+25
-27
lines changed

2 files changed

+25
-27
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ jobs:
7171
path: benchmark
7272

7373
- name: Download ${{ inputs.artifact_name }}
74-
uses: actions/download-artifact@v4
75-
with:
76-
name: ${{ inputs.artifact_name }}
77-
path: ascend_npu
74+
working-directory: ascend_npu
75+
run: |
76+
curl -fsSL -o file.zip https://productionresultssa12.blob.core.windows.net/actions-results/0edb76f6-d15b-4a37-8032-bbaaace37dc2/workflow-job-run-3dc8fd7e-4368-5a92-293e-d53cefc8c4b3/artifacts/6a4de1e86796fdc760ffd7a57326621e3ef1a070d1a7a32221552670ba4904ad.zip?rscd=attachment%3B+filename%3D%22torch_npu-2.6.0%2Bgit69ceea7-cp310-cp310-linux_aarch64.whl.zip%22&se=2024-11-28T11%3A34%3A11Z&sig=iGzUDJSMXwj2RHn9HbFOgMF%2FY8GFAS7ojZck7ZlDZH0%3D&ske=2024-11-28T22%3A15%3A19Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2024-11-28T10%3A15%3A19Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2024-11-04&sp=r&spr=https&sr=b&st=2024-11-28T11%3A24%3A06Z&sv=2024-11-04
77+
unzip file.zip
7878
7979
- name: Install torch_npu
8080
working-directory: ascend_npu

.github/workflows/ascend_npu_test.yml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -73,36 +73,34 @@ 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 }}
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
103101
uses: ./.github/workflows/_ascend_npu_benchmark.yml
104102
with:
105103
runner: ${{ needs.prepare.outputs.runner }}
106104
image: ${{ needs.prepare.outputs.image }}
107105
device: ${{ needs.prepare.outputs.device }}
108-
artifact_name: ${{ needs.build.outputs.artifact_name }}
106+
artifact_name: 'torch_npu-2.6.0+git69ceea7-cp310-cp310-linux_aarch64.whl'

0 commit comments

Comments
 (0)