[misc] fix pre-commit (#1500)

This commit is contained in:
William Lin
2026-06-26 12:39:28 -07:00
committed by GitHub
parent f9b8e30ff3
commit b454aa56c3
+1 -2
View File
@@ -115,8 +115,7 @@ def _cached_get_attn_backend(
# get device-specific attn_backend
from fastvideo.platforms import current_platform
if (selected_backend is not None and
selected_backend not in supported_attention_backends):
if (selected_backend is not None and selected_backend not in supported_attention_backends):
logger.warning(
"Requested attention backend %s is not supported by this "
"layer; supported backends are %s. Falling back to automatic "