Skip to content

Commit dda5e72

Browse files
committed
NCCL dirs have to be specified. Otherwise picks up different version
1 parent 2e2b97d commit dda5e72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

manywheel/build_cuda.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ elif [[ $CUDA_VERSION == "11.7" ]]; then
209209
export ATEN_STATIC_CUDA=0
210210
export USE_CUDA_STATIC_LINK=0
211211
export USE_CUPTI_SO=1
212+
export NCCL_INCLUDE_DIR="/usr/local/cuda/include/"
213+
export NCCL_LIB_DIR="/usr/local/cuda/lib64/"
212214
fi
213215
else
214216
echo "Unknown cuda version $CUDA_VERSION"

0 commit comments

Comments
 (0)