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 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
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
You can’t perform that action at this time.
0 commit comments