We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e99caed commit 7230599Copy full SHA for 7230599
llama_cpp/llama.py
@@ -79,7 +79,7 @@ def __init__(
79
self.params.f16_kv = f16_kv
80
self.params.logits_all = logits_all
81
self.params.vocab_only = vocab_only
82
- self.params.use_mmap = use_mmap
+ self.params.use_mmap = use_mmap if lora_path is None else False
83
self.params.use_mlock = use_mlock
84
self.params.embedding = embedding
85
0 commit comments