Skip to content

Commit ed888d2

Browse files
committed
Update
1 parent 0a6735b commit ed888d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/_build-and-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- /usr/local/bin/npu-smi:/usr/local/bin/npu-smi
3232
- /usr/local/Ascend/driver/lib64/:/usr/local/Ascend/driver/lib64/
3333
- /usr/local/Ascend/driver/version.info:/usr/local/Ascend/driver/version.info
34-
- /root/codes/:/root/codes
34+
- /home/runner/actions-runner/codes:/root/codes
3535
options: --network host ${{ inputs.devices }} --device /dev/davinci_manager --device /dev/devmm_svm --device /dev/hisi_hdc
3636
steps:
3737
- name: Set environment
@@ -51,7 +51,7 @@ jobs:
5151
- name: Compile and install torch_npu
5252
working-directory: /root/build/npu/pytorch
5353
run: |
54-
pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
54+
grep -v 'torch' requirements.txt | pip install -r /dev/stdin -i https://pypi.tuna.tsinghua.edu.cn/simple
5555
bash ci/build.sh --python=3.8
5656
pip3 install dist/torch_npu*.whl
5757
- name: Do the test

0 commit comments

Comments
 (0)