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 39
39
test :
40
40
name : run benchmarks for torch_npu
41
41
runs-on : ${{ inputs.runner }}
42
- env :
43
- HF_ENDPOINT : https://hf-mirror.com
44
42
container :
45
43
image : ${{ inputs.image }}
46
44
volumes :
56
54
--device /dev/devmm_svm
57
55
--device /dev/hisi_hdc
58
56
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
63
58
steps :
64
59
- name : Show NPU info
65
60
run : |
Original file line number Diff line number Diff line change 41
41
image : ${{ inputs.image }}
42
42
options : >-
43
43
--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
49
44
outputs :
50
45
dist-name : ${{ steps.list-dist.outputs.dist-name }}
51
46
steps :
Original file line number Diff line number Diff line change 49
49
--device /dev/davinci_manager
50
50
--device /dev/devmm_svm
51
51
--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
57
52
outputs :
58
53
dist-name : ${{ steps.list-dist.outputs.dist-name }}
59
54
steps :
@@ -121,6 +116,8 @@ jobs:
121
116
working-directory : torch_npu
122
117
run : |
123
118
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
124
121
125
122
- name : List distribution package
126
123
id : list-dist
Original file line number Diff line number Diff line change 49
49
--device /dev/davinci_manager
50
50
--device /dev/devmm_svm
51
51
--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
57
52
steps :
58
53
- name : Show NPU info
59
54
run : |
You can’t perform that action at this time.
0 commit comments