[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-06-26 06:17:15 +00:00
commit 3cfb29dd6b
5 changed files with 151 additions and 72 deletions

View file

@ -488,8 +488,14 @@ class DiffusionBackend:
):
try:
pipe, transformer_quant_engaged = self._load_dense_quant_pipeline(
transformer_cls, pipeline_cls, base, device, dtype, hf_token,
target, transformer_quant,
transformer_cls,
pipeline_cls,
base,
device,
dtype,
hf_token,
target,
transformer_quant,
)
except Exception as exc: # noqa: BLE001 — fall back to the GGUF build
logger.warning(