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
276738ce
Unverified
Commit
276738ce
authored
Dec 20, 2024
by
Isotr0py
Committed by
GitHub
Dec 19, 2024
Browse files
[Bugfix] Fix broken CPU compressed-tensors test (#11338)
Signed-off-by:
Isotr0py
<
2037008807@qq.com
>
parent
cdf22afd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
vllm/model_executor/layers/quantization/utils/w8a8_utils.py
vllm/model_executor/layers/quantization/utils/w8a8_utils.py
+2
-4
No files found.
vllm/model_executor/layers/quantization/utils/w8a8_utils.py
View file @
276738ce
...
...
@@ -11,8 +11,7 @@ TORCH_DEVICE_IDENTITY = torch.ones(1, dtype=torch.float32)
def
sparse_cutlass_supported
()
->
bool
:
# sparse cutlass is not supported on Rocm
if
current_platform
.
is_rocm
():
if
not
current_platform
.
is_cuda
():
return
False
capability_tuple
=
current_platform
.
get_device_capability
()
...
...
@@ -22,8 +21,7 @@ def sparse_cutlass_supported() -> bool:
def
cutlass_fp8_supported
()
->
bool
:
# cutlass is not supported on Rocm
if
current_platform
.
is_rocm
():
if
not
current_platform
.
is_cuda
():
return
False
capability_tuple
=
current_platform
.
get_device_capability
()
...
...
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