File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 31
31
- /usr/local/bin/npu-smi:/usr/local/bin/npu-smi
32
32
- /usr/local/Ascend/driver/lib64/:/usr/local/Ascend/driver/lib64/
33
33
- /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
35
35
options : --network host ${{ inputs.devices }} --device /dev/davinci_manager --device /dev/devmm_svm --device /dev/hisi_hdc
36
36
steps :
37
37
- name : Set environment
51
51
- name : Compile and install torch_npu
52
52
working-directory : /root/build/npu/pytorch
53
53
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
55
55
bash ci/build.sh --python=3.8
56
56
pip3 install dist/torch_npu*.whl
57
57
- name : Do the test
You can’t perform that action at this time.
0 commit comments