File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
.circleci/unittest/linux/scripts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121 fi
2222 echo " Using CUDA $CUDA_VERSION as determined by CU_VERSION"
2323 version=" $( python -c " print('.'.join(\" ${CUDA_VERSION} \" .split('.')[:2]))" ) "
24- cudatoolkit=" cudatoolkit=${version} "
24+ cudatoolkit=" nvidia:: cudatoolkit=${version} "
2525fi
2626
2727case " $( uname -s) " in
@@ -33,7 +33,7 @@ printf "Installing PyTorch with %s\n" "${cudatoolkit}"
3333if [ " ${os} " == " MacOSX" ]; then
3434 conda install -y -c " pytorch-${UPLOAD_CHANNEL} " " pytorch-${UPLOAD_CHANNEL} " ::pytorch " ${cudatoolkit} " pytest
3535else
36- conda install -y -c " pytorch-${UPLOAD_CHANNEL} " " pytorch-${UPLOAD_CHANNEL} " ::pytorch[build= " *${version} *" ] " ${cudatoolkit} " pytest
36+ conda install -y -c " pytorch-${UPLOAD_CHANNEL} " -c nvidia " pytorch-${UPLOAD_CHANNEL} " ::pytorch[build= " *${version} *" ] " ${cudatoolkit} " pytest
3737fi
3838
3939printf " * Installing torchvision\n"
You can’t perform that action at this time.
0 commit comments