Commit Graph
4 Commits
Author SHA1 Message Date
Piotr Wilkin (ilintar)andSreeram e249a043f1 fix: change deprecated --no-mmap option to --load-mode none for llama.cpp (#3559)
Co-authored-by: Sreeram <[email protected]>
2026-09-29 00:57:35 +00:00
Michele Balistreri 0ec3082b15 [llamacpp] replace deprecated flags, better IO flag handling (#2833)
* replace deprecated flags, better io control

* address review comments
2026-08-07 08:08:36 +00:00
Sujithra 968420c3ba fix(custom_args): preserve repeatable flags (#2840) 2026-07-31 08:33:26 +00:00
coolduderules 43e6cdc833 fix(custom_args): treat negative numbers as values, not flags (#2773)
build_custom_args_map classified any token starting with '-' as a flag,
so values like -1, -0.5, -1e5 became phantom map keys. This detached
them from their owning flag (--cache-ram -1 dropped its value) and,
since std::map keys are unique, silently deduped identical negatives
across flags (--cache-ram -1 --reasoning-budget -1 lost both values).

The fix validates a complete negative numeric token (integer, decimal,
and scientific notation) rather than just checking the second character,
so tokens like -1foo or -.future remain flags.
2026-07-27 10:49:35 +00:00