mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
Insert to the path instead of appending
This commit is contained in:
parent
2965aa1625
commit
74102d5ee4
@ -89,7 +89,7 @@ def load_model(model_name):
|
||||
|
||||
# 4-bit LLaMA
|
||||
elif shared.args.load_in_4bit:
|
||||
sys.path.append(os.path.abspath(Path("repositories/GPTQ-for-LLaMa")))
|
||||
sys.path.insert(0, os.path.abspath(Path("repositories/GPTQ-for-LLaMa")))
|
||||
|
||||
from llama import load_quant
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user