Skip to content

Commit

Permalink
Fix cuda link target of cumem_allocator
Browse files Browse the repository at this point in the history
Signed-off-by: YuhongGuo <yuhong.gyh@antgroup.com>
  • Loading branch information
guoyuhong committed Feb 7, 2025
1 parent 56534cd commit 3b09f0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ set_gencode_flags_for_srcs(
if(VLLM_GPU_LANG STREQUAL "CUDA")
message(STATUS "Enabling cumem allocator extension.")
# link against cuda driver library
list(APPEND CUMEM_LIBS cuda)
list(APPEND CUMEM_LIBS CUDA::cuda_driver)
define_gpu_extension_target(
cumem_allocator
DESTINATION vllm
Expand Down

0 comments on commit 3b09f0c

Please sign in to comment.