mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
remove unnecessary Path()
This commit is contained in:
parent
e6c631aea4
commit
9ba8156a70
@ -117,7 +117,7 @@ def load_model(model_name):
|
||||
print(f"Could not find {pt_model}, exiting...")
|
||||
exit()
|
||||
|
||||
model = load_quant(path_to_model, Path(f"{pt_path}"), bits)
|
||||
model = load_quant(path_to_model, pt_path, bits)
|
||||
|
||||
# Multi-GPU setup
|
||||
if shared.args.gpu_memory:
|
||||
|
Loading…
Reference in New Issue
Block a user