Skip to content

Commit 7b4c8d9

Browse files
committed
fix typo
1 parent abe944c commit 7b4c8d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/intel/neural_compressor/modeling_base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def _from_pretrained(
147147
try:
148148
quantization_config = PretrainedConfig.from_pretrained(model_save_dir / "quantize_config.json")
149149
algorithm = getattr(quantization_config, "quant_method", None)
150-
if algorithm in {"rtn", "gptq", "awq", "autoaround"}:
150+
if algorithm in {"rtn", "gptq", "awq", "autoround"}:
151151
from intel_extension_for_transformers.transformers.modeling.modeling_auto import (
152152
_BaseQBitsAutoModelClass,
153153
)

0 commit comments

Comments
 (0)