Skip to content

Commit

Permalink
fix broken CPU test
Browse files Browse the repository at this point in the history
Signed-off-by: Isotr0py <[email protected]>
  • Loading branch information
Isotr0py committed Dec 19, 2024
1 parent a0f7d53 commit d8e6243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vllm/model_executor/layers/quantization/utils/w8a8_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

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()
Expand All @@ -23,7 +23,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()
Expand Down

0 comments on commit d8e6243

Please sign in to comment.