File tree Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Expand file tree Collapse file tree 2 files changed +15
-15
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
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 }}
You can’t perform that action at this time.
0 commit comments