[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] 2026-03-15 05:44:03 +00:00 committed by Daniel Han
commit 1f861e185b

View file

@ -972,7 +972,7 @@ def list_gguf_variants(
# (0, ...) recommended | (1, 0, size) other UD | (1, 1, size) non-UD
return (0 if is_recommended else 1, 0 if is_ud else 1, v.size_bytes)
variants.sort(key=_sort_key)
variants.sort(key = _sort_key)
return variants, has_vision