Skip to content

Commit fb0d4fb

Browse files
committed
update
1 parent 422491d commit fb0d4fb

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
lines changed

.github/workflows/_ascend_npu_benchmark.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ 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
53-
NO_PROXY: "localhost,127.0.0.1"
5448
steps:
5549
- name: Show NPU info
5650
run: |
@@ -75,8 +69,8 @@ jobs:
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

.github/workflows/_ascend_npu_build.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ 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
39-
NO_PROXY: "localhost,127.0.0.1"
4032
outputs:
4133
dist_name: ${{ steps.list-dist.outputs.dist_name }}
4234
steps:

.github/workflows/_ascend_npu_test.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ 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
53-
NO_PROXY: "localhost,127.0.0.1"
5448
steps:
5549
- name: Show NPU info
5650
run: |

0 commit comments

Comments
 (0)