[fix] fix SM check for Flashinfer TRTLLM MOE (#30314)

Signed-off-by: jiahanc <173873397+jiahanc@users.noreply.github.com>
This commit is contained in:
jiahanc 2025-12-11 17:00:58 -08:00 committed by GitHub
parent 48661d275f
commit 0ab23c2b2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -290,7 +290,7 @@ def get_flashinfer_moe_backend() -> FlashinferMoeBackend:
if flashinfer_moe_backend in backend_map:
if (
flashinfer_moe_backend == "latency"
and not current_platform.is_device_capability(100)
and not current_platform.has_device_capability(100)
):
logger.info_once(
"Flashinfer TRTLLM MOE backend is only supported on "