[Bugfix] Gate sm_100-only kernel tests on the capability family, not >= (#54306)

Signed-off-by: bojiang3 <bli314159@gmail.com>
This commit is contained in:
Bojiang Li
2026-09-01 11:29:15 -04:00
committed by GitHub
parent 76f3249fbd
commit a232e29e9d
5 changed files with 6 additions and 6 deletions
@@ -42,7 +42,7 @@ CUTLASS_MLA_UNSUPPORTED_REASON = (
@pytest.mark.skipif(
not current_platform.has_device_capability(100),
not current_platform.is_device_capability_family(100),
reason=CUTLASS_MLA_UNSUPPORTED_REASON,
)
@pytest.mark.parametrize("b", [128])
@@ -217,7 +217,7 @@ def test_cutlass_mla_decode(
@pytest.mark.skipif(
not current_platform.has_device_capability(100),
not current_platform.is_device_capability_family(100),
reason=CUTLASS_MLA_UNSUPPORTED_REASON,
)
@torch.inference_mode()
+1 -1
View File
@@ -6,7 +6,7 @@ import pytest
from vllm.platforms import current_platform
if not current_platform.has_device_capability(100):
if not current_platform.is_device_capability_family(100):
pytest.skip(
reason="Nvfp4 Requires compute capability of 10 or above.",
allow_module_level=True,
@@ -51,7 +51,7 @@ if not has_flashinfer_trtllm_fused_moe() or not current_platform.is_cuda():
allow_module_level=True,
)
if not current_platform.has_device_capability(100):
if not current_platform.is_device_capability_family(100):
pytest.skip(
"TRT-LLM fused MoE kernels require SM100+",
allow_module_level=True,
+1 -1
View File
@@ -39,7 +39,7 @@ from vllm.utils.torch_utils import set_random_seed
if pytest and (
not has_flashinfer_trtllm_fused_moe()
or not current_platform.has_device_capability(100)
or not current_platform.is_device_capability_family(100)
):
pytest.skip(
"Requires flashinfer TRTLLM fused MoE BF16 backend (SM100)",
+1 -1
View File
@@ -44,7 +44,7 @@ from vllm.utils.torch_utils import set_random_seed
if pytest and (
not has_flashinfer_trtllm_fused_moe()
or not current_platform.has_device_capability(100)
or not current_platform.is_device_capability_family(100)
):
pytest.skip(
"Requires flashinfer TRTLLM fused MoE and NvFP4 (SM100)",