[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-07-05 00:37:38 +00:00
commit 9003a7dcc1

View file

@ -314,7 +314,6 @@ class VideoBackend:
root = Path(repo_id).expanduser()
if root.is_dir():
from .diffusion_families import resolve_local_gguf_child
try:
resolve_local_gguf_child(root, gguf_filename or "")
except Exception as exc: # noqa: BLE001 -- surface as client input error
@ -632,7 +631,9 @@ class VideoBackend:
logger.info(
"video.transformer_quant: %s fits resident (%d MiB steady); "
"dropping the bf16 plan's '%s' offload",
scheme_preview, quant_mib, plan.offload_policy,
scheme_preview,
quant_mib,
plan.offload_policy,
)
plan = replanned
quant_replanned = True
@ -802,7 +803,6 @@ class VideoBackend:
# model/sequential offload hook every top-level module, so only group needs
# this. Applied through the view so the helper streams transformer_2.
from .diffusion_memory import _apply_group_offload
for view in views[1:]:
if not _apply_group_offload(view, device, logger):
logger.warning(