From 9003a7dcc1b0d1b7a7fb2e9b688dcf4df59ae78a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 5 Jul 2026 00:37:38 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/core/inference/video.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/studio/backend/core/inference/video.py b/studio/backend/core/inference/video.py index 3d44e71a16..281ebb9b8b 100644 --- a/studio/backend/core/inference/video.py +++ b/studio/backend/core/inference/video.py @@ -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(