mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-29 19:09:32 +01:00
Merge pull request #263 from HideLord/main
Fixing compatibility with GPTQ repository
This commit is contained in:
commit
901dcba9b4
@ -41,7 +41,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, pt_path, bits)
|
model = load_quant(path_to_model, os.path.abspath(pt_path), bits)
|
||||||
|
|
||||||
# Multi-GPU setup
|
# Multi-GPU setup
|
||||||
if shared.args.gpu_memory:
|
if shared.args.gpu_memory:
|
||||||
|
Loading…
Reference in New Issue
Block a user