Skip to content

Commit 0c90971

Browse files
committed
update
1 parent 6768848 commit 0c90971

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,17 @@ jobs:
6161
apt update
6262
apt install --no-install-recommends -y git gcc g++ make cmake ninja-build curl
6363
64-
- name: Download ${{ inputs.artifact_name }}
65-
uses: actions/download-artifact@v4
66-
with:
67-
name: ${{ inputs.artifact_name }}
68-
path: ascend_npu
64+
# - name: Download ${{ inputs.artifact_name }}
65+
# uses: actions/download-artifact@v4
66+
# with:
67+
# name: ${{ inputs.artifact_name }}
68+
# path: ascend_npu
6969

7070
- name: Install torch_npu
7171
working-directory: ascend_npu
7272
run: |
73-
pip install ${{ inputs.artifact_name }}
73+
# pip install ${{ inputs.artifact_name }}
74+
pip install torch-npu --index-url https://pypi.org/simple/
7475

7576
- name: Install torch_npu dependencies
7677
working-directory: ascend_npu

.github/workflows/ascend_npu_test.yml

Lines changed: 8 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,7 +98,6 @@ jobs:
9898
name: Run benchmarks
9999
needs:
100100
- prepare
101-
- build
102101
uses: ./.github/workflows/_ascend_npu_benchmark.yml
103102
with:
104103
runner: ${{ needs.prepare.outputs.runner }}

0 commit comments

Comments
 (0)