mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-29 10:59:32 +01:00
Fix GPTQ load_quant call on Windows
This commit is contained in:
parent
bdff37f0bb
commit
372363bc3d
@ -40,7 +40,7 @@ def load_quantized_LLaMA(model_name):
|
|||||||
print(f"Could not find {pt_model}, exiting...")
|
print(f"Could not find {pt_model}, exiting...")
|
||||||
exit()
|
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
|
# Multiple GPUs or GPU+CPU
|
||||||
if shared.args.gpu_memory:
|
if shared.args.gpu_memory:
|
||||||
|
Loading…
Reference in New Issue
Block a user