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
d1e82408
Unverified
Commit
d1e82408
authored
Oct 22, 2024
by
Lucas Wilkinson
Committed by
GitHub
Oct 22, 2024
Browse files
[Bugfix] Fix spurious "No compiled cutlass_scaled_mm ..." for W8A8 on Turing (#9487)
parent
cb6fdaa0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
CMakeLists.txt
CMakeLists.txt
+2
-2
csrc/quantization/cutlass_w8a8/scaled_mm_entry.cu
csrc/quantization/cutlass_w8a8/scaled_mm_entry.cu
+5
-3
No files found.
CMakeLists.txt
View file @
d1e82408
...
...
@@ -252,7 +252,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
message
(
STATUS
"Building Marlin kernels for archs:
${
MARLIN_ARCHS
}
"
)
else
()
message
(
STATUS
"Not building Marlin kernels as no compatible archs found"
"in CUDA target architectures"
)
"
in CUDA target architectures"
)
endif
()
#
...
...
@@ -432,7 +432,7 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
message
(
STATUS
"Building Marlin MOE kernels for archs:
${
MARLIN_MOE_ARCHS
}
"
)
else
()
message
(
STATUS
"Not building Marlin MOE kernels as no compatible archs found"
"in CUDA target architectures"
)
"
in CUDA target architectures"
)
endif
()
endif
()
...
...
csrc/quantization/cutlass_w8a8/scaled_mm_entry.cu
View file @
d1e82408
...
...
@@ -137,9 +137,11 @@ void cutlass_scaled_mm(torch::Tensor& c, torch::Tensor const& a,
return
;
}
// Turing
TORCH_CHECK
(
version_num
>=
75
);
cutlass_scaled_mm_sm75
(
c
,
a
,
b
,
a_scales
,
b_scales
,
bias
);
if
(
version_num
>=
75
)
{
// Turing
cutlass_scaled_mm_sm75
(
c
,
a
,
b
,
a_scales
,
b_scales
,
bias
);
return
;
}
#endif
TORCH_CHECK_NOT_IMPLEMENTED
(
...
...
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