Skip to content

Bump llama.cpp to 5b59b83f4 (b11050+1, +61 from 72b590d65), release v0.8.52 - #96

Merged
nyo16 merged 1 commit into
masterfrom
bump-llama-cpp-5b59b83f4
Sep 19, 2026
Merged

nyo16 merged 1 commit into
masterfrom
bump-llama-cpp-5b59b83f4

Conversation

@nyo16

@nyo16 nyo16 commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Bumps vendor/llama.cpp from 72b590d65 (b10989+1, upstream v0.4.1) to 5b59b83f4 (b11050+1, origin/master), 61 commits. LLAMA_COMMIT in the Makefile follows the
submodule.

API compatibility

NIF source is untouched. Only additive header changes:

  • llama.h: LLAMA_VOCAB_TYPE_TEST, llama_adapter_lora_init_from_file_ptr
  • ggml.h: ggml_dsv4_hc_pre_gated

llama_model_default_params / llama_context_default_params unchanged. RPC protocol stays at 7.0.0, so a v0.8.51 worker and v0.8.52 client still interoperate.

Notable upstream changes

  • RPC: free_buffer now discards cached compute graphs, closing a use-after-free in graph_recompute (#24292). Relevant to long-lived LlamaCppEx.RPC.Server
    instances serving multiple model loads.
  • Metal: MoE and SSM_CONV fusion (#28948), corrected FA support checks (#29122), NaN fix in mul_mm_id when activations exceed f16 range (#26223).
  • MTP: CUDA graph for the draft context (#28549); Nemotron MTP extended (#29018).
  • Chat: DeepSeek V3.2/V4 parser message delimiters (#29008); forced \n</think> on reasoning-budget end for qwen3-coder (#28869).
  • ggml: allocation failures reported instead of crashing (#28149); graph buffer reservation failure handled (#26070).
  • New archs: HrmTextForCausalLM / DFM Mimir 1B (#27625); ufakzeka pre-tokenizer (#29033).

Release-guide workarounds

All three still stand (source diff): ggml-cpu/CMakeLists.txt untouched; ggml-cuda.cu diff is a DSV4_HC_POST supports_op tweak nowhere near
ggml_backend_cuda_comm_init; RPC buffer set_tensor_2d/get_tensor_2d still NULL; ggml_backend_rpc_start_server still returns void.

Verification

macOS, Metal, M1 Max, GGML_METAL_NO_RESIDENCY=1:

Run Result
mix test (no model) 430 passed, 157 excluded
--include smoke --include embeddings --include slow --include mtp (Qwen3.5-0.8B-UD-Q4_K_XL, Qwen3-Embedding-0.6B-f16, Qwen3.6-35B-A3B-MTP-UD-Q4_K_XL) 573
passed, 14 excluded
--include mtp_sidecar (Qwen3.8-27B-Q4_K_M + mtp-Qwen3.8-27B-Q4_0) 436 passed, 6 skipped (E4B pair not on disk)
Hex source build from mix hex.build tarball, LLAMA_BACKEND=cpu clones 5b59b83f4, links
mix format --check-formatted clean

Not re-run: rpc_live, MTPE4BSidecarTest, dialyzer (no Elixir source touched).

…0.8.52

NIF-facing headers changed additively only (LLAMA_VOCAB_TYPE_TEST,
llama_adapter_lora_init_from_file_ptr, ggml_dsv4_hc_pre_gated); default
params untouched; RPC protocol stays 7.0.0. All three release-guide
workarounds still stand. Notable upstream: RPC worker drops cached graphs
on free_buffer (#24292 use-after-free), Metal MoE/SSM_CONV fusion and
mul_mm_id NaN fix, CUDA graph for MTP draft.

Verified on Metal (M1 Max): 430 passed default, 573 passed with
smoke/embeddings/slow/mtp, 436 passed / 6 skipped for mtp_sidecar with
the Qwen 3.8 pair. Hex source build clones the pinned SHA.
@nyo16
nyo16 force-pushed the bump-llama-cpp-5b59b83f4 branch from 4daf0b9 to bcaa47b Compare September 19, 2026 12:17
@nyo16
nyo16 merged commit 5379fac into master Sep 19, 2026
9 checks passed
@nyo16
nyo16 deleted the bump-llama-cpp-5b59b83f4 branch September 19, 2026 13:04
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