[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
18fe3469a4
commit
df8c128fe3
4 changed files with 17 additions and 13 deletions
|
|
@ -996,7 +996,10 @@ class DiffusionBackend:
|
|||
# as-is, so auto is the DEFAULT. An explicit "none"/"off" pins
|
||||
# GGUF-as-is and an explicit scheme pins that scheme. The overwritten
|
||||
# "auto" still records source=auto in the resolved provenance.
|
||||
if transformer_quant is None or str(transformer_quant).strip().lower() in ("", "auto"):
|
||||
if transformer_quant is None or str(transformer_quant).strip().lower() in (
|
||||
"",
|
||||
"auto",
|
||||
):
|
||||
transformer_quant = TQ_AUTO
|
||||
|
||||
# Default-on fast path: load the DENSE bf16 transformer and torchao-quantise it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue