Skip to content

preset: handle negated arg, reverse the meaning if needed#18041

Merged
ngxson merged 1 commit intomasterfrom
xsn/preset_fix_neg_arg
Dec 14, 2025
Merged

preset: handle negated arg, reverse the meaning if needed#18041
ngxson merged 1 commit intomasterfrom
xsn/preset_fix_neg_arg

Conversation

@ngxson
Copy link
Copy Markdown
Contributor

@ngxson ngxson commented Dec 14, 2025

Fix #18038

Should work on all these cases:

mmap = 0 --> disable mmap
mmap = 1 --> enable mmap
no-mmap = 0 --> enable mmap
no-mmap = 1 --> disable mmap

@ngxson ngxson merged commit 5239229 into master Dec 14, 2025
69 of 70 checks passed
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 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: "--models-preset config.ini" doesn't accept the --no-mmap argument

2 participants