File tree Expand file tree Collapse file tree 4 files changed +3
-21
lines changed Expand file tree Collapse file tree 4 files changed +3
-21
lines changed Original file line number Diff line number Diff line change 3939 test :
4040 name : run benchmarks for torch_npu
4141 runs-on : ${{ inputs.runner }}
42- env :
43- HF_ENDPOINT : https://hf-mirror.com
4442 container :
4543 image : ${{ inputs.image }}
4644 volumes :
5654 --device /dev/devmm_svm
5755 --device /dev/hisi_hdc
5856 env :
59- HTTP_PROXY : http://127.0.0.1:10809
60- HTTPS_PROXY : http://127.0.0.1:10809
61- ALL_PROXY : socks5://127.0.0.1:10808
62- SOCKS_PROXY : socks5://127.0.0.1:10808
57+ HF_ENDPOINT : https://hf-mirror.com
6358 steps :
6459 - name : Show NPU info
6560 run : |
Original file line number Diff line number Diff line change 4141 image : ${{ inputs.image }}
4242 options : >-
4343 --network host
44- env :
45- HTTP_PROXY : http://127.0.0.1:10809
46- HTTPS_PROXY : http://127.0.0.1:10809
47- ALL_PROXY : socks5://127.0.0.1:10808
48- SOCKS_PROXY : socks5://127.0.0.1:10808
4944 outputs :
5045 dist-name : ${{ steps.list-dist.outputs.dist-name }}
5146 steps :
Original file line number Diff line number Diff line change 4949 --device /dev/davinci_manager
5050 --device /dev/devmm_svm
5151 --device /dev/hisi_hdc
52- env :
53- HTTP_PROXY : http://127.0.0.1:10809
54- HTTPS_PROXY : http://127.0.0.1:10809
55- ALL_PROXY : socks5://127.0.0.1:10808
56- SOCKS_PROXY : socks5://127.0.0.1:10808
5752 outputs :
5853 dist-name : ${{ steps.list-dist.outputs.dist-name }}
5954 steps :
@@ -121,6 +116,8 @@ jobs:
121116 working-directory : torch_npu
122117 run : |
123118 bash ci/build.sh --python=${{ steps.list-py-version.outputs.py-version }}
119+ env :
120+ _GLIBCXX_USE_CXX11_ABI : 1 # https://gitee.com/ascend/pytorch/issues/IBJFZY
124121
125122 - name : List distribution package
126123 id : list-dist
Original file line number Diff line number Diff line change 4949 --device /dev/davinci_manager
5050 --device /dev/devmm_svm
5151 --device /dev/hisi_hdc
52- env :
53- HTTP_PROXY : http://127.0.0.1:10809
54- HTTPS_PROXY : http://127.0.0.1:10809
55- ALL_PROXY : socks5://127.0.0.1:10808
56- SOCKS_PROXY : socks5://127.0.0.1:10808
5752 steps :
5853 - name : Show NPU info
5954 run : |
You can’t perform that action at this time.
0 commit comments