mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-03-27 08:16:58 +08:00
Change cmakelists
Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
parent
0204263598
commit
721dcb2ebc
@ -171,6 +171,13 @@ if(NVCC_THREADS AND VLLM_GPU_LANG STREQUAL "CUDA")
|
||||
list(APPEND VLLM_GPU_FLAGS "--threads=${NVCC_THREADS}")
|
||||
endif()
|
||||
|
||||
#
|
||||
# Set nvcc fatbin compression.
|
||||
#
|
||||
if(${CMAKE_CUDA_COMPILER_VERSION} VERSION_GREATER 12.8 AND VLLM_GPU_LANG STREQUAL "CUDA")
|
||||
list(APPEND VLLM_GPU_FLAGS "-Xfatbin -compress-all -compress-mode=size")
|
||||
endif()
|
||||
|
||||
|
||||
#
|
||||
# Use FetchContent for C++ dependencies that are compiled as part of vLLM's build process.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user