added no_mmap & mlock parameters to llama.cpp and removed llamacpp_model_alternative (#1649)
--------- Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
This commit is contained in:
parent
2f1a2846d1
commit
fbcd32988e
5 changed files with 50 additions and 126 deletions
|
@ -129,7 +129,7 @@ def load_model(model_name):
|
|||
|
||||
# llamacpp model
|
||||
elif shared.model_type == 'llamacpp':
|
||||
from modules.llamacpp_model_alternative import LlamaCppModel
|
||||
from modules.llamacpp_model import LlamaCppModel
|
||||
|
||||
path = Path(f'{shared.args.model_dir}/{model_name}')
|
||||
if path.is_file():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue