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
717a5f82
Unverified
Commit
717a5f82
authored
Oct 15, 2024
by
Lucas Wilkinson
Committed by
GitHub
Oct 16, 2024
Browse files
[Bugfix][CI/Build] Fix CUDA 11.8 Build (#9386)
parent
ba309422
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
CMakeLists.txt
+5
-5
No files found.
CMakeLists.txt
View file @
717a5f82
...
@@ -286,10 +286,6 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
...
@@ -286,10 +286,6 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
list
(
APPEND VLLM_GPU_FLAGS
"-DENABLE_SCALED_MM_C3X=1"
)
list
(
APPEND VLLM_GPU_FLAGS
"-DENABLE_SCALED_MM_C3X=1"
)
message
(
STATUS
"Building scaled_mm_c3x for archs:
${
SCALED_MM_3X_ARCHS
}
"
)
message
(
STATUS
"Building scaled_mm_c3x for archs:
${
SCALED_MM_3X_ARCHS
}
"
)
else
()
else
()
# clear SCALED_MM_3X_ARCHS so the scaled_mm_c2x kernels know we didn't
# build any 3x kernels
set
(
SCALED_MM_3X_ARCHS
)
if
(
NOT
${
CMAKE_CUDA_COMPILER_VERSION
}
VERSION_GREATER 12.0 AND SCALED_MM_3X_ARCHS
)
if
(
NOT
${
CMAKE_CUDA_COMPILER_VERSION
}
VERSION_GREATER 12.0 AND SCALED_MM_3X_ARCHS
)
message
(
STATUS
"Not building scaled_mm_c3x as CUDA Compiler version is "
message
(
STATUS
"Not building scaled_mm_c3x as CUDA Compiler version is "
"not >= 12.0, we recommend upgrading to CUDA 12.0 or "
"not >= 12.0, we recommend upgrading to CUDA 12.0 or "
...
@@ -299,13 +295,17 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
...
@@ -299,13 +295,17 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
message
(
STATUS
"Not building scaled_mm_c3x as no compatible archs found "
message
(
STATUS
"Not building scaled_mm_c3x as no compatible archs found "
"in CUDA target architectures"
)
"in CUDA target architectures"
)
endif
()
endif
()
# clear SCALED_MM_3X_ARCHS so the scaled_mm_c2x kernels know we didn't
# build any 3x kernels
set
(
SCALED_MM_3X_ARCHS
)
endif
()
endif
()
#
#
# For the cutlass_scaled_mm kernels we want to build the c2x (CUTLASS 2.x)
# For the cutlass_scaled_mm kernels we want to build the c2x (CUTLASS 2.x)
# kernels for the remaining archs that are not already built for 3x.
# kernels for the remaining archs that are not already built for 3x.
cuda_archs_loose_intersection
(
SCALED_MM_2X_ARCHS
cuda_archs_loose_intersection
(
SCALED_MM_2X_ARCHS
"7.5;8.0;8.6;8.9;9.0
;9.0a
"
"
${
CUDA_ARCHS
}
"
)
"7.5;8.0;8.6;8.9;9.0"
"
${
CUDA_ARCHS
}
"
)
# subtract out the archs that are already built for 3x
# subtract out the archs that are already built for 3x
list
(
REMOVE_ITEM SCALED_MM_2X_ARCHS
${
SCALED_MM_3X_ARCHS
}
)
list
(
REMOVE_ITEM SCALED_MM_2X_ARCHS
${
SCALED_MM_3X_ARCHS
}
)
if
(
SCALED_MM_2X_ARCHS
)
if
(
SCALED_MM_2X_ARCHS
)
...
...
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