[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
@@ -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,