Upgrade llama.cpp from b10092 to b10107 - #363
Merged
Merged
Conversation
Bumps the pinned llama.cpp release (b10092 -> b10107). Updates the four pin sites (llama/CMakeLists.txt GIT_TAG + LLAMA_TAG, README badge/link, CLAUDE.md, LlamaCppVersion.LLAMA_CPP_VERSION) and appends the history rows. This range carries a real public-API break: upstream PR ggml-org/llama.cpp#20834 removed the use_mmap/use_mlock/use_direct_io booleans from common_params and llama_model_params, replacing them with a single `enum llama_load_mode load_mode`. train_engine.cpp is updated accordingly (params.use_mmap = false -> params.load_mode = LLAMA_LOAD_MODE_NONE, mirroring upstream finetune.cpp). The Java layer is unaffected (ModelFlag.MLOCK/NO_MMAP emit --mlock/--no-mmap, still accepted by common/arg.cpp, now deprecated aliases that set load_mode). All six patches (0001-0003, 0006-0008) apply unchanged; the OuteTTS generator anchors hold (tools/tts/tts.cpp unchanged). Verified locally: cmake configure + full native build green, 485/485 C++ ctests pass, NativeLibraryLoadSmokeTest (2/2) confirms the linked binary reports b10107 matching the version constant. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017DYEzEhYiZb9M9jQQrfzQm
bernardladenthin
had a problem deploying
to
maven-central
July 26, 2026 20:24 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
maven-central
July 26, 2026 20:24 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
startgate
July 26, 2026 20:24 — with
GitHub Actions
Error
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
b10092tob10107across all configuration files and documentationuse_mmapboolean with newload_modeenum (LLAMA_LOAD_MODE_NONE)Details
This upgrade addresses an upstream API change in llama.cpp b10107 where the model loading configuration was refactored. The
params.use_mmap,params.use_mlock, andparams.use_direct_iobooleans were consolidated into a singleparams.load_modeenum. The training engine's requirement for writable weight pointers (incompatible with mmap) is now satisfied by settingload_mode = LLAMA_LOAD_MODE_NONE.All six existing patches (
0001–0003,0006–0008) apply cleanly to b10107 without modification, as verified in the breaking-changes documentation.Test plan
Related issues / PRs
Follows the "Upgrading/Downgrading llama.cpp Version" checklist in CLAUDE.md.
Checklist
CONTRIBUTING.mdandCODE_OF_CONDUCT.mdhttps://claude.ai/code/session_017DYEzEhYiZb9M9jQQrfzQm