Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,9 @@ def activation_format() -> mk.FusedMoEActivationFormat:
def _supports_current_device() -> bool:
from vllm.platforms import current_platform

return (
is_deep_gemm_supported()
and current_platform.is_device_capability_family(100)
return is_deep_gemm_supported() and (
current_platform.is_device_capability_family(100)
or current_platform.is_device_capability_family(120)
)
Comment on lines +357 to 360
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

This check can be simplified by using has_device_capability(100), which correctly identifies all Blackwell-family GPUs (including both SM 10.x and 12.x) while excluding Hopper (SM 9.0). This is more idiomatic in vLLM for checking minimum architecture requirements.

        return (is_deep_gemm_supported()
                and current_platform.has_device_capability(100))


@staticmethod
Expand Down
7 changes: 5 additions & 2 deletions vllm/platforms/cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,11 @@ def support_static_graph_mode(cls) -> bool:

@classmethod
def support_deep_gemm(cls) -> bool:
"""Currently, only Hopper and Blackwell GPUs are supported."""
return cls.is_device_capability(90) or cls.is_device_capability_family(100)
"""Currently, Hopper, datacenter Blackwell (SM 100+) and consumer
Blackwell (SM 12x — RTX 50-series, GB10/DGX Spark) are supported."""
return (cls.is_device_capability(90)
or cls.is_device_capability_family(100)
or cls.is_device_capability_family(120))
Comment on lines +550 to +552
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The logic for checking Blackwell support can be simplified using has_device_capability(100), which covers both SM 10.x and 12.x (and matches the "SM 100+" description in the docstring).

Important: Please ensure that vllm/utils/deep_gemm.py::should_auto_disable_deep_gemm is also updated to include SM 12.x (e.g., by using has_device_capability(100) there as well). Currently, it only checks for family 100, which means consumer Blackwell GPUs will bypass the accuracy-related auto-disablement for specific models (like Qwen 3.5) known to have issues with DeepGEMM's E8M0 scale format on Blackwell.

        return cls.is_device_capability(90) or cls.has_device_capability(100)


@classmethod
def is_integrated_gpu(cls, device_id: int = 0) -> bool:
Expand Down
Loading