Skip to content

Bump llama.cpp to ddd4ec142 (b10217), release v0.8.41 - #81

Merged
nyo16 merged 1 commit into
masterfrom
bump/llama-cpp-b10217
Aug 1, 2026
Merged

Bump llama.cpp to ddd4ec142 (b10217), release v0.8.41#81
nyo16 merged 1 commit into
masterfrom
bump/llama-cpp-b10217

Conversation

@nyo16

@nyo16 nyo16 commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Maintenance bump from b10178 (992c32532) to b10217 (ddd4ec142), 39 commits.

This range does not break the upstream C API — no NIF change was required
and the public Elixir API is unchanged.

API compatibility

Two binding-relevant headers moved, both additive:

ggml/include/ggml.h, ggml/include/ggml-backend.h, ggml/include/ggml-metal.h,
common/chat.h, common/sampling.h, common/speculative.h and
common/json-schema-to-grammar.h are all verified untouched in this range.

Changes

  • vendor/llama.cpp992c32532ddd4ec142 (tag b10217)
  • MakefileLLAMA_COMMIT bumped in lockstep, so Hex source builds clone
    the same revision as a git checkout gets
  • mix.exs@version0.8.41
  • CHANGELOG.md — new ## v0.8.41 section

checksum.exs is intentionally untouched: the precompile workflow's checksum
job generates it and commits it to master after the tag push.

Verification

NIF rebuilt from source at the new pin (LLAMA_BACKEND=metal), then:

GGML_METAL_NO_RESIDENCY=1 LLAMA_BACKEND=metal \
LLAMA_MODEL_PATH=~/Downloads/Llama-3.2-1B-Instruct-Q4_K_M.gguf \
LLAMA_EMBEDDING_MODEL_PATH=~/Downloads/Qwen3-Embedding-0.6B-f16.gguf \
LLAMA_SMOKE_GEN_MODEL=~/Downloads/Llama-3.2-1B-Instruct-Q4_K_M.gguf \
LLAMA_SMOKE_EMB_MODEL=~/Downloads/Qwen3-Embedding-0.6B-f16.gguf \
  mix test --include smoke --include embeddings

489 passed, 0 failures, 21 excluded — matching the b10178 baseline exactly.

Also clean: mix compile --warnings-as-errors, mix format --check-formatted,
mix credo --strict (no issues), mix hex.build.

Maintenance bump from b10178. The range does not break the upstream C
API, so no NIF change was required and the public Elixir API is
unchanged.

Two binding-relevant headers moved, both additive:

- include/llama.h: llama_model_params gains a trailing `bool load_mtp`
  (#26296). The NIF builds params from llama_model_default_params()
  rather than aggregate-initialising the struct, so the new field takes
  its upstream default and the addition is source-compatible. A new
  llama_vocab_get_suppress_tokens accessor (#26276) is unused here.
- common/common.h: common_params_sampling::has_logit_bias() was removed
  alongside the suppress-tokens refactor (#26276), and a test-only
  common_get_model_or_exit was added (#26317). The binding calls
  neither and does not use common_params_sampling, so both are inert.

ggml.h, ggml-backend.h, ggml-metal.h, chat.h, sampling.h, speculative.h
and json-schema-to-grammar.h are untouched in this range.

Makefile LLAMA_COMMIT is bumped in lockstep with the submodule so Hex
source builds clone the same revision.

Verified: NIF rebuilt from source at the new pin; full suite with real
GGUF models (smoke + embeddings, dense Llama-3.2-1B) 489 passed, 0
failures; compile --warnings-as-errors, format --check-formatted,
credo --strict and hex.build all clean.

checksum.exs is intentionally untouched: the precompile workflow's
checksum job generates and commits it after the tag push.
@nyo16
nyo16 merged commit 0f5402e into master Aug 1, 2026
6 checks passed
@nyo16
nyo16 deleted the bump/llama-cpp-b10217 branch August 1, 2026 13:35
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.

1 participant