Unverified Commit 6482e389 authored by Hank_'s avatar Hank_ Committed by GitHub
Browse files

chores: adjust the attn register param order (#30688)


Signed-off-by: default avatarHank <hcc.mayday@gmail.com>
parent fb980eb2
......@@ -201,8 +201,8 @@ _MAMBA_ATTN_OVERRIDES: dict[MambaAttentionBackendEnum, str] = {}
def register_backend(
backend: AttentionBackendEnum | MambaAttentionBackendEnum,
is_mamba: bool = False,
class_path: str | None = None,
is_mamba: bool = False,
) -> Callable[[type], type]:
"""Register or override a backend implementation.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment