File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 1111 required : true
1212 type : string
1313 description : ' The docker image which will be used to build'
14+ device :
15+ required : true
16+ type : string
17+ description : ' The device selected to run on'
1418 torch-artifact :
1519 required : false
1620 type : string
3337 runs-on : ${{ inputs.runner }}
3438 container :
3539 image : ${{ inputs.image }}
40+ volumes :
41+ - /usr/local/dcmi:/usr/local/dcmi
42+ - /usr/local/bin/npu-smi:/usr/local/bin/npu-smi
43+ - /usr/local/Ascend/driver/lib64/:/usr/local/Ascend/driver/lib64/
44+ - /usr/local/Ascend/driver/version.info:/usr/local/Ascend/driver/version.info
45+ - /etc/ascend_install.info:/etc/ascend_install.info
3646 options : >-
3747 --network host
48+ --device ${{ inputs.device }}
49+ --device /dev/davinci_manager
50+ --device /dev/devmm_svm
51+ --device /dev/hisi_hdc
3852 env :
3953 HTTP_PROXY : http://127.0.0.1:10809
4054 HTTPS_PROXY : http://127.0.0.1:10809
You can’t perform that action at this time.
0 commit comments