From 58262dec6e8190f321edd088e937d9b51f7ed064 Mon Sep 17 00:00:00 2001 From: Stefano Castagnetta Date: Thu, 2 Apr 2026 19:12:58 +0200 Subject: [PATCH] [Bugfix] Fix test mocks after SM100 restriction in #38730 (#38791) Signed-off-by: Stefano Castagnetta Co-authored-by: Claude --- tests/kernels/attention/test_use_trtllm_attention.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/kernels/attention/test_use_trtllm_attention.py b/tests/kernels/attention/test_use_trtllm_attention.py index fba18fe46e..12ab146a98 100644 --- a/tests/kernels/attention/test_use_trtllm_attention.py +++ b/tests/kernels/attention/test_use_trtllm_attention.py @@ -62,7 +62,7 @@ def test_supports_batch_invariant_disables(): @patch("vllm.envs.VLLM_BATCH_INVARIANT", False) @patch( - "vllm.utils.flashinfer.current_platform.is_device_capability_family", + "vllm.utils.flashinfer.current_platform.is_device_capability", return_value=True, ) @patch("vllm.utils.flashinfer.has_nvidia_artifactory", return_value=True) @@ -72,7 +72,7 @@ def test_supports_sm100_with_artifactory(_art, _cap): @patch("vllm.envs.VLLM_BATCH_INVARIANT", False) @patch( - "vllm.utils.flashinfer.current_platform.is_device_capability_family", + "vllm.utils.flashinfer.current_platform.is_device_capability", return_value=False, ) def test_supports_non_sm100_platform(_cap): @@ -81,7 +81,7 @@ def test_supports_non_sm100_platform(_cap): @patch("vllm.envs.VLLM_BATCH_INVARIANT", False) @patch( - "vllm.utils.flashinfer.current_platform.is_device_capability_family", + "vllm.utils.flashinfer.current_platform.is_device_capability", return_value=True, ) @patch("vllm.utils.flashinfer.has_nvidia_artifactory", return_value=False)