Fix spelling errors (#33978)

This commit is contained in:
lukec
2026-02-06 23:58:50 -08:00
committed by GitHub
parent c490d8cc73
commit 15a0b9e570
5 changed files with 10 additions and 10 deletions
@@ -333,7 +333,7 @@ def select_fp8_moe_backend(
# TODO(rob): per discussion with TPU team, we need a way to register
# MoE backends by OOT plugins, rather than having an explicit list
# of AVAILBLE_BACKENDS. Enabling returning `Fp8MoeBackend.NONE` is
# of AVAILABLE_BACKENDS. Enabling returning `Fp8MoeBackend.NONE` is
# a temporary measure until these register APIs are complete.
if current_platform.is_cuda() or current_platform.is_rocm():
raise NotImplementedError(
+4 -4
View File
@@ -52,8 +52,8 @@ def is_flashmla_dense_supported() -> tuple[bool, str | None]:
"""
Return: is_supported_flag, unsupported_reason (optional).
"""
is_availble, maybe_reason = _is_flashmla_available()
if not is_availble:
is_available, maybe_reason = _is_flashmla_available()
if not is_available:
return False, maybe_reason
if not current_platform.is_device_capability_family(90):
return False, "FlashMLA Dense is only supported on Hopper devices."
@@ -64,8 +64,8 @@ def is_flashmla_sparse_supported() -> tuple[bool, str | None]:
"""
Return: is_supported_flag, unsupported_reason (optional).
"""
is_availble, maybe_reason = _is_flashmla_available()
if not is_availble:
is_available, maybe_reason = _is_flashmla_available()
if not is_available:
return False, maybe_reason
if not (
current_platform.is_device_capability_family(90)