We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7571a4a commit dc221adCopy full SHA for dc221ad
CMakeLists.txt
@@ -174,8 +174,10 @@ endif()
174
#
175
# Set nvcc fatbin compression.
176
177
-if(${CMAKE_CUDA_COMPILER_VERSION} VERSION_GREATER_EQUAL 12.8 AND VLLM_GPU_LANG STREQUAL "CUDA")
178
- list(APPEND VLLM_GPU_FLAGS "-Xfatbin" "-compress-all" "-compress-mode=size")
+if(VLLM_GPU_LANG STREQUAL "CUDA")
+ if(${CMAKE_CUDA_COMPILER_VERSION} VERSION_GREATER_EQUAL 12.8)
179
+ list(APPEND VLLM_GPU_FLAGS "-Xfatbin" "-compress-all" "-compress-mode=size")
180
+ endif()
181
endif()
182
183
0 commit comments