File tree Expand file tree Collapse file tree 3 files changed +2
-22
lines changed Expand file tree Collapse file tree 3 files changed +2
-22
lines changed Original file line number Diff line number Diff line change 4545 --device /dev/davinci_manager
4646 --device /dev/devmm_svm
4747 --device /dev/hisi_hdc
48- env :
49- HTTP_PROXY : http://127.0.0.1:10809
50- HTTPS_PROXY : http://127.0.0.1:10809
51- ALL_PROXY : socks5://127.0.0.1:10808
52- SOCKS_PROXY : socks5://127.0.0.1:10808
53- NO_PROXY : " localhost,127.0.0.1"
5448 steps :
5549 - name : Show NPU info
5650 run : |
7569 working-directory : ascend_npu
7670 run : |
7771 pip install ${{ inputs.artifact_name }}
78- npu_is_available=$(python -c "import torch; print(torch.npu.is_available()")
79- npu_count=$(python -c "import torch; print(torch.npu.device_count()")
72+ npu_is_available=$(python -c "import torch; print(torch.npu.is_available()) ")
73+ npu_count=$(python -c "import torch; print(torch.npu.device_count()) ")
8074 echo "npu is available: ${npu_is_available}"
8175 echo "npu count: ${npu_count}"
8276
Original file line number Diff line number Diff line change 2929 runs-on : ${{ inputs.runner }}
3030 container :
3131 image : ${{ inputs.image }}
32- options : >-
33- --network host
34- env :
35- HTTP_PROXY : http://127.0.0.1:10809
36- HTTPS_PROXY : http://127.0.0.1:10809
37- ALL_PROXY : socks5://127.0.0.1:10808
38- SOCKS_PROXY : socks5://127.0.0.1:10808
39- NO_PROXY : " localhost,127.0.0.1"
4032 outputs :
4133 dist_name : ${{ steps.list-dist.outputs.dist_name }}
4234 steps :
Original file line number Diff line number Diff line change 4545 --device /dev/davinci_manager
4646 --device /dev/devmm_svm
4747 --device /dev/hisi_hdc
48- env :
49- HTTP_PROXY : http://127.0.0.1:10809
50- HTTPS_PROXY : http://127.0.0.1:10809
51- ALL_PROXY : socks5://127.0.0.1:10808
52- SOCKS_PROXY : socks5://127.0.0.1:10808
53- NO_PROXY : " localhost,127.0.0.1"
5448 steps :
5549 - name : Show NPU info
5650 run : |
You can’t perform that action at this time.
0 commit comments