File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,8 +120,9 @@ if [[ $USE_CUSPARSELT == "1" && $CUDA_VERSION == "11.8" ]]; then
120120fi
121121
122122
123- # Turn USE_CUFILE off for CUDA 11.8 since nvidia-cufile-cu11 is not available in PYPI
124- if [[ $USE_CUFILE == " 1" && $CUDA_VERSION == " 11.8" ]]; then
123+ # Turn USE_CUFILE off for CUDA 11.8, 12.4 since nvidia-cufile-cu11 and 1.9.0.20 are
124+ # not available in PYPI
125+ if [[ $CUDA_VERSION == " 11.8" || $CUDA_VERSION == " 12.4" ]]; then
125126 export USE_CUFILE=0
126127fi
127128
@@ -168,10 +169,7 @@ if [[ $CUDA_VERSION == 12* ]]; then
168169 " libnvrtc.so.12"
169170 " libnvrtc-builtins.so"
170171 )
171- if [[ $CUDA_VERSION == 12.4 ]]; then
172- # Turn USE_CUFILE off for CUDA 12.4 since 1.9.0.20 is not available in PYPI
173- export USE_CUFILE=0
174- else
172+ if [[ $USE_CUFILE == 1 ]]; then
175173 DEPS_LIST+=(
176174 " /usr/local/cuda/lib64/libcufile.so.0"
177175 " /usr/local/cuda/lib64/libcufile_rdma.so.1"
@@ -197,10 +195,7 @@ if [[ $CUDA_VERSION == 12* ]]; then
197195 ' $ORIGIN/../../nvidia/nccl/lib'
198196 ' $ORIGIN/../../nvidia/nvtx/lib'
199197 )
200- if [[ $CUDA_VERSION == 12.4 ]]; then
201- # Turn USE_CUFILE off for CUDA 12.4 since 1.9.0.20 is not available in PYPI
202- export USE_CUFILE=0
203- else
198+ if [[ $USE_CUFILE == 1 ]]; then
204199 CUDA_RPATHS+=(
205200 ' $ORIGIN/../../nvidia/cufile/lib'
206201 )
You can’t perform that action at this time.
0 commit comments