Skip to content

Commit 58ce477

Browse files
committed
fix the arch support in CMakeLists.txt to include 8.9
Signed-off-by: fhl <2410591650@qq.com>
1 parent 92b1733 commit 58ce477

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
308308
# Keep building Marlin for 9.0 as there are some group sizes and shapes that
309309
# are not supported by Machete yet.
310310
# 9.0 for latest bf16 atomicAdd PTX
311-
cuda_archs_loose_intersection(MARLIN_ARCHS "8.0;8.7;9.0+PTX" "${CUDA_ARCHS}")
311+
cuda_archs_loose_intersection(MARLIN_ARCHS "8.0;8.7;8.9;9.0+PTX" "${CUDA_ARCHS}")
312312
if (MARLIN_ARCHS)
313313

314314
#
@@ -684,7 +684,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
684684

685685
list(APPEND VLLM_MOE_EXT_SRC "${VLLM_MOE_WNA16_SRC}")
686686
# 9.0 for latest bf16 atomicAdd PTX
687-
cuda_archs_loose_intersection(MARLIN_MOE_ARCHS "8.0;8.7;9.0+PTX" "${CUDA_ARCHS}")
687+
cuda_archs_loose_intersection(MARLIN_MOE_ARCHS "8.0;8.7;8.9;9.0+PTX" "${CUDA_ARCHS}")
688688
if (MARLIN_MOE_ARCHS)
689689

690690
#

0 commit comments

Comments
 (0)