Skip to content

Commit 28587be

Browse files
committed
update
1 parent fb0d4fb commit 28587be

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
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
4853
steps:
4954
- name: Show NPU info
5055
run: |

.github/workflows/_ascend_npu_build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ jobs:
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
3239
outputs:
3340
dist_name: ${{ steps.list-dist.outputs.dist_name }}
3441
steps:

.github/workflows/_ascend_npu_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
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
4853
steps:
4954
- name: Show NPU info
5055
run: |

0 commit comments

Comments
 (0)