mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
make argument non case-sensitive
This commit is contained in:
parent
b746250b2f
commit
e1c952c41c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user