From e1c952c41ce7ce93dde13dc77860b55d80d59be4 Mon Sep 17 00:00:00 2001 From: Ayanami Rei Date: Mon, 13 Mar 2023 20:22:38 +0300 Subject: [PATCH] make argument non case-sensitive --- modules/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: