Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
533c2177
Commit
533c2177
authored
May 31, 2024
by
simon-mo
Browse files
Fix cutlass sm_90a vesrion in CMakeList
parent
6d21fa1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
533c2177
...
@@ -200,7 +200,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
...
@@ -200,7 +200,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
# The CUTLASS kernels for Hopper require sm90a to be enabled.
# The CUTLASS kernels for Hopper require sm90a to be enabled.
# This is done via the below gencode option, BUT that creates kernels for both sm90 and sm90a.
# This is done via the below gencode option, BUT that creates kernels for both sm90 and sm90a.
# That adds an extra 17MB to compiled binary, so instead we selectively enable it.
# That adds an extra 17MB to compiled binary, so instead we selectively enable it.
if
(
${
CMAKE_CUDA_COMPILER_VERSION
}
VERSION_GREATER 1
1
)
if
(
${
CMAKE_CUDA_COMPILER_VERSION
}
VERSION_GREATER 1
2.0
)
set_source_files_properties
(
set_source_files_properties
(
"csrc/quantization/cutlass_w8a8/scaled_mm_dq_c3x.cu"
"csrc/quantization/cutlass_w8a8/scaled_mm_dq_c3x.cu"
PROPERTIES
PROPERTIES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment