Skip to content

Commit fe806a1

Browse files
Update on "Set USE_CUFILE=1 by default and add pypi package to binary build matrix"
[ghstack-poisoned]
2 parents f17afc5 + c9f5eb6 commit fe806a1

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.ci/manywheel/build_cuda.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,9 @@ if [[ $USE_CUSPARSELT == "1" && $CUDA_VERSION == "11.8" ]]; then
120120
fi
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
126127
fi
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
)

0 commit comments

Comments
 (0)