File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ setup_cuda() {
3636 # Wheel builds need suffixes (but not if they're on OS X, which never has suffix)
3737 if [[ " $BUILD_TYPE " == " wheel" ]] && [[ " $( uname) " != Darwin ]]; then
3838 # The default CUDA has no suffix
39- if [[ " $CU_VERSION " != " cu100 " ]]; then
39+ if [[ " $CU_VERSION " != " cu101 " ]]; then
4040 export PYTORCH_VERSION_SUFFIX=" +$CU_VERSION "
4141 fi
4242 # Match the suffix scheme of pytorch, unless this package does not have
@@ -208,6 +208,9 @@ setup_conda_cudatoolkit_constraint() {
208208 export CONDA_CUDATOOLKIT_CONSTRAINT=" "
209209 else
210210 case " $CU_VERSION " in
211+ cu101)
212+ export CONDA_CUDATOOLKIT_CONSTRAINT=" - cudatoolkit >=10.1,<10.2 # [not osx]"
213+ ;;
211214 cu100)
212215 export CONDA_CUDATOOLKIT_CONSTRAINT=" - cudatoolkit >=10.0,<10.1 # [not osx]"
213216 ;;
You can’t perform that action at this time.
0 commit comments