File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,21 +6,21 @@ function install(kernel)
66
77 if ( platform === 'linux' && gpu === 'amd' )
88 {
9- return 'python install.py --onnxruntime rocm' ;
9+ return 'python install.py --onnxruntime rocm || exit 0 ' ;
1010 }
1111 if ( platform === 'win32' && gpu === 'amd' )
1212 {
13- return 'python install.py --onnxruntime directml' ;
13+ return 'python install.py --onnxruntime directml || exit 0 ' ;
1414 }
1515 if ( ( platform === 'linux' || platform === 'win32' ) && gpu === 'intel' )
1616 {
17- return 'python install.py --onnxruntime openvino' ;
17+ return 'python install.py --onnxruntime openvino || exit 0 ' ;
1818 }
1919 if ( ( platform === 'linux' || platform === 'win32' ) && gpu === 'nvidia' )
2020 {
21- return 'python install.py --onnxruntime cuda' ;
21+ return 'python install.py --onnxruntime cuda || exit 0 ' ;
2222 }
23- return 'python install.py --onnxruntime default' ;
23+ return 'python install.py --onnxruntime default || exit 0 ' ;
2424}
2525
2626module . exports = async kernel =>
You can’t perform that action at this time.
0 commit comments