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() {
36
36
# Wheel builds need suffixes (but not if they're on OS X, which never has suffix)
37
37
if [[ " $BUILD_TYPE " == " wheel" ]] && [[ " $( uname) " != Darwin ]]; then
38
38
# The default CUDA has no suffix
39
- if [[ " $CU_VERSION " != " cu100 " ]]; then
39
+ if [[ " $CU_VERSION " != " cu101 " ]]; then
40
40
export PYTORCH_VERSION_SUFFIX=" +$CU_VERSION "
41
41
fi
42
42
# Match the suffix scheme of pytorch, unless this package does not have
@@ -208,6 +208,9 @@ setup_conda_cudatoolkit_constraint() {
208
208
export CONDA_CUDATOOLKIT_CONSTRAINT=" "
209
209
else
210
210
case " $CU_VERSION " in
211
+ cu101)
212
+ export CONDA_CUDATOOLKIT_CONSTRAINT=" - cudatoolkit >=10.1,<10.2 # [not osx]"
213
+ ;;
211
214
cu100)
212
215
export CONDA_CUDATOOLKIT_CONSTRAINT=" - cudatoolkit >=10.0,<10.1 # [not osx]"
213
216
;;
You can’t perform that action at this time.
0 commit comments