Skip to content

Commit 1236b1c

Browse files
committed
NCCL dirs have to be specified. Otherwise picks up different version
1 parent 840804a commit 1236b1c

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
@@ -263,6 +263,8 @@ elif [[ $CUDA_VERSION == "11.8" ]]; then
263263
export ATEN_STATIC_CUDA=0
264264
export USE_CUDA_STATIC_LINK=0
265265
export USE_CUPTI_SO=1
266+
export NCCL_INCLUDE_DIR="/usr/local/cuda/include/"
267+
export NCCL_LIB_DIR="/usr/local/cuda/lib64/"
266268
fi
267269
else
268270
echo "Unknown cuda version $CUDA_VERSION"

0 commit comments

Comments
 (0)