diff --git a/modules/models.py b/modules/models.py index e4dce127..9bcaca9e 100644 --- a/modules/models.py +++ b/modules/models.py @@ -91,7 +91,7 @@ def load_model(model_name): elif shared.args.gptq_bits > 0: from modules.quant_loader import load_quantized - model = load_quantized(model_name, shared.args.gptq_model_type) + model = load_quantized(model_name, shared.args.gptq_model_type.lower()) # Custom else: