@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 59abbd84f9
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 15, 06:00 UTC

[Fix] Allow kernel compilation for CUDA capability 8.7 (#19328)

Signed-off-by: Conroy Cheers <conroy@corncheese.org>

Conroy Cheers committed Jun 9, 2025 at 19:57 UTC 59abbd84f90e5930c37e205de8849ac4fa8a96c7
1 file changed +3 -3
CMakeLists.txt
+3 -3
@@ -308,7 +308,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
308 # Keep building Marlin for 9.0 as there are some group sizes and shapes that
309 # are not supported by Machete yet.
310 # 9.0 for latest bf16 atomicAdd PTX
311 - cuda_archs_loose_intersection(MARLIN_ARCHS "8.0;9.0+PTX" "${CUDA_ARCHS}")
311 + cuda_archs_loose_intersection(MARLIN_ARCHS "8.0;8.7;9.0+PTX" "${CUDA_ARCHS}")
312 if (MARLIN_ARCHS)
313
314 #
@@ -454,7 +454,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
454 # kernels for the remaining archs that are not already built for 3x.
455 # (Build 8.9 for FP8)
456 cuda_archs_loose_intersection(SCALED_MM_2X_ARCHS
457 - "7.5;8.0;8.9+PTX" "${CUDA_ARCHS}")
457 + "7.5;8.0;8.7;8.9+PTX" "${CUDA_ARCHS}")
458 # subtract out the archs that are already built for 3x
459 list(REMOVE_ITEM SCALED_MM_2X_ARCHS ${SCALED_MM_3X_ARCHS})
460 if (SCALED_MM_2X_ARCHS)
@@ -684,7 +684,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
684
685 list(APPEND VLLM_MOE_EXT_SRC "${VLLM_MOE_WNA16_SRC}")
686 # 9.0 for latest bf16 atomicAdd PTX
687 - cuda_archs_loose_intersection(MARLIN_MOE_ARCHS "8.0;9.0+PTX" "${CUDA_ARCHS}")
687 + cuda_archs_loose_intersection(MARLIN_MOE_ARCHS "8.0;8.7;9.0+PTX" "${CUDA_ARCHS}")
688 if (MARLIN_MOE_ARCHS)
689
690 #