Fix GPTQ load_quant call on Windows

This commit is contained in:
oobabooga 2023-03-13 12:07:02 -03:00
parent bdff37f0bb
commit 372363bc3d

View File

@ -40,7 +40,7 @@ def load_quantized_LLaMA(model_name):
print(f"Could not find {pt_model}, exiting...")
exit()
model = load_quant(path_to_model, str(pt_path), bits)
model = load_quant(str(path_to_model), str(pt_path), bits)
# Multiple GPUs or GPU+CPU
if shared.args.gpu_memory: