[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
983f2c14a0
commit
3cfb29dd6b
5 changed files with 151 additions and 72 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue