fix: shoudn't include CUDA_ARCH 100 and 120 for cuda12.6.1 (#11176)

This commit is contained in:
gongwei-130
2025-10-02 13:24:23 -07:00
committed by GitHub
parent 6a261aaca5
commit 0618ad6dd5

View File

@@ -109,7 +109,7 @@ RUN wget https://developer.download.nvidia.com/compute/redist/nvshmem/3.3.9/sour
# Build and install NVSHMEM
RUN cd /sgl-workspace/nvshmem && \
export CUDA_ARCH="90;100;120" && \
if [ "$BUILD_TYPE" = "blackwell" ] || [ "$BUILD_TYPE" = "blackwell_aarch" ]; then CUDA_ARCH="90;100;120"; else CUDA_ARCH="90"; fi && \
NVSHMEM_SHMEM_SUPPORT=0 \
NVSHMEM_UCX_SUPPORT=0 \
NVSHMEM_USE_NCCL=0 \