Skip to content

llama-fit-params: force disable mlock - #18103

Merged
JohannesGaessler merged 1 commit into
ggml-org:masterfrom
JohannesGaessler:llama-fp-no-mlock
Dec 16, 2025
Merged

JohannesGaessler merged 1 commit into
ggml-org:masterfrom
JohannesGaessler:llama-fp-no-mlock

Conversation

@JohannesGaessler

Copy link
Copy Markdown
Contributor

Fixes #18090 .

It seems that (unbeknownst to me) the code is trying to use a memory lock even when memory mapping is disabled which results in a crash. This PR force disables mlock for llama_params_fit.

@JohannesGaessler
JohannesGaessler merged commit d0794e8 into ggml-org:master Dec 16, 2025
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
MrLordCat referenced this pull request in MrLordCat/llama.cpp-rdna-lab Jul 16, 2026
zommiommy pushed a commit to zommiommy/llama.cpp that referenced this pull request Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Misc. bug: Regression: GGML_ASSERT(addr) failed in llama-mmap.cpp on RTX 5090 (Blackwell) - works in b7376, fails in b7410+

2 participants