Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 0015a52

Browse files
committed
Fix syntax error in build.sh
1 parent b3eb56a commit 0015a52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conda/pytorch-nightly/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [[ -n "$build_with_cuda" ]]; then
6060
TORCH_CUDA_ARCH_LIST="$TORCH_CUDA_ARCH_LIST;3.7+PTX;9.0"
6161
#for cuda 11.8 include all dynamic loading libraries
6262
DEPS_LIST=(/usr/local/cuda/lib64/libcudnn*.so.9 /usr/local/cuda-11.8/extras/CUPTI/lib64/libcupti.so.11.8 /usr/local/cuda/lib64/libcusparseLt.so.0)
63-
elif [[ $CUDA_VERSION == 12.1* || $CUDA_VERSION == 12.4* || $CUDA_VERSION == 12.6*]]; then
63+
elif [[ $CUDA_VERSION == 12.1* || $CUDA_VERSION == 12.4* || $CUDA_VERSION == 12.6* ]]; then
6464
# cuda 12 does not support sm_3x
6565
TORCH_CUDA_ARCH_LIST="$TORCH_CUDA_ARCH_LIST;9.0"
6666
# for cuda 12.1 (12.4) we use cudnn 9.1 and include all dynamic loading libraries

0 commit comments

Comments
 (0)