|
So --no-mmap is deprecated, but what's the eqivalent --load-mode? |
Answered by
lMysticl
Aug 2, 2026
Replies: 2 comments
|
The exact replacement for llama-server ... --load-mode noneOr via the environment: LLAMA_ARG_LOAD_MODE=noneThe current argument parser maps
Source: current argument parser. |
0 replies
Answer selected by
yves5141
|
Thanks! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The exact replacement for
--no-mmapis:Or via the environment:
The current argument parser maps
--no-mmapdirectly toLLAMA_LOAD_MODE_NONE. The old flag still works for now, but is deprecated.--load-mode mlockis different: it keeps the model locked in RAM. Also, avoid passing both the old and new flags because only the last one takes effect.Source: current argument parser.