diff --git a/tests/kernels/attention/test_cutlass_mla_decode.py b/tests/kernels/attention/test_cutlass_mla_decode.py index 067f66ebc4..7a5011b5ca 100644 --- a/tests/kernels/attention/test_cutlass_mla_decode.py +++ b/tests/kernels/attention/test_cutlass_mla_decode.py @@ -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() diff --git a/tests/kernels/moe/test_cutedsl_moe.py b/tests/kernels/moe/test_cutedsl_moe.py index 405dc4f448..3a371968fc 100644 --- a/tests/kernels/moe/test_cutedsl_moe.py +++ b/tests/kernels/moe/test_cutedsl_moe.py @@ -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, diff --git a/tests/kernels/moe/test_routed_experts_capture_monolithic.py b/tests/kernels/moe/test_routed_experts_capture_monolithic.py index 895d6e1e63..eec6180550 100644 --- a/tests/kernels/moe/test_routed_experts_capture_monolithic.py +++ b/tests/kernels/moe/test_routed_experts_capture_monolithic.py @@ -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, diff --git a/tests/kernels/moe/test_trtllm_bf16_moe.py b/tests/kernels/moe/test_trtllm_bf16_moe.py index 76b7fd8b6d..7b6b7d81ff 100644 --- a/tests/kernels/moe/test_trtllm_bf16_moe.py +++ b/tests/kernels/moe/test_trtllm_bf16_moe.py @@ -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)", diff --git a/tests/kernels/moe/test_trtllm_nvfp4_moe.py b/tests/kernels/moe/test_trtllm_nvfp4_moe.py index bbe6277220..59eaa4c139 100644 --- a/tests/kernels/moe/test_trtllm_nvfp4_moe.py +++ b/tests/kernels/moe/test_trtllm_nvfp4_moe.py @@ -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)",