[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-10 07:12:32 +00:00
commit 14eba1c887

View file

@ -414,7 +414,12 @@ def _encode_once(bag) -> None:
# ── VAE loading + latent shape (reused from quant_accuracy_sweep) ──────────────
def _load_vae(repo: str, device: str, *, force_fp32: bool = False):
def _load_vae(
repo: str,
device: str,
*,
force_fp32: bool = False,
):
import torch
diffusers = _import_diffusers()