[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2025-12-06 03:11:35 +00:00
commit 2eda89058c

View file

@ -85,7 +85,9 @@ class AttentionContext:
sliding_window: Optional[int] = None
def select_attention_backend(use_varlen: bool = False, has_attention_mask: bool = False) -> str:
def select_attention_backend(
use_varlen: bool = False, has_attention_mask: bool = False
) -> str:
"""Return attention backend based on availability / priority order."""
if has_attention_mask: