Skip to content
This repository was archived by the owner on Aug 23, 2026. It is now read-only.

Bump vendored llama.cpp b9585 -> b10068 - #68

Merged
benoitc merged 1 commit into
mainfrom
bump/llama-cpp-b10068
Jul 20, 2026
Merged

benoitc merged 1 commit into
mainfrom
bump/llama-cpp-b10068

Conversation

@benoitc

@benoitc benoitc commented Jul 20, 2026

Copy link
Copy Markdown
Member

Summary

  • Re-vendor upstream llama.cpp release b10068 (2026-07-18), ~483 builds ahead of b9585.
  • Same trim policy: only cpu/blas/metal/cuda ggml backends kept; no docs/examples/tools/tests/scripts/conversion; new upstream ggml-et backend also trimmed.
  • Carries forward the two local patches on the same anchors:
    • common/chat.{h,cpp}: skip_parser_synthesis flag on common_chat_templates_inputs + render-only short-circuit in common_chat_templates_apply_jinja. Backs the ParamsRef cache in barrel_inference:chat_apply/2.
    • include/llama.h + src/llama-model.{h,cpp}: prefetch field on llama_model_params; llama_model_n_mappings / llama_model_get_mapping C API exposing the mmap regions. Backs weight_residency = lazy_then_pin_resident and the resident_bytes gauge.
  • New upstream src/ additions are picked up automatically (models/ CMakeLists globs *.cpp; ggml-cuda globs *.cu/*.cuh). NIF builds clean.

Re-vendor upstream release b10068 (2026-07-18). Trims match the
prior policy: only cpu/blas/metal/cuda ggml backends kept; no
docs/examples/tools/tests/scripts/conversion; new ggml-et backend
also trimmed.

Carries forward the two local patches on the same anchors:

- common/chat.{h,cpp}: skip_parser_synthesis flag on
  common_chat_templates_inputs + render-only short-circuit in
  common_chat_templates_apply_jinja. Backs the ParamsRef cache in
  barrel_inference:chat_apply/2.

- include/llama.h + src/llama-model.{h,cpp}: prefetch field on
  llama_model_params (POSIX_MADV_WILLNEED vs POSIX_MADV_RANDOM);
  llama_model_n_mappings / llama_model_get_mapping C API exposing
  the mmap regions. Backs weight_residency = lazy_then_pin_resident
  and the resident_bytes gauge.

New upstream src/ additions are picked up automatically (models/
CMakeLists globs *.cpp; ggml-cuda globs *.cu/*.cuh). NIF builds
clean.
@benoitc
benoitc merged commit 518f5be into main Jul 20, 2026
18 checks passed
@benoitc
benoitc deleted the bump/llama-cpp-b10068 branch July 20, 2026 08:16
benoitc added a commit to benoitc/erllama that referenced this pull request Aug 23, 2026
…ence#68)

Re-vendor upstream release b10068 (2026-07-18). Trims match the
prior policy: only cpu/blas/metal/cuda ggml backends kept; no
docs/examples/tools/tests/scripts/conversion; new ggml-et backend
also trimmed.

Carries forward the two local patches on the same anchors:

- common/chat.{h,cpp}: skip_parser_synthesis flag on
  common_chat_templates_inputs + render-only short-circuit in
  common_chat_templates_apply_jinja. Backs the ParamsRef cache in
  barrel_inference:chat_apply/2.

- include/llama.h + src/llama-model.{h,cpp}: prefetch field on
  llama_model_params (POSIX_MADV_WILLNEED vs POSIX_MADV_RANDOM);
  llama_model_n_mappings / llama_model_get_mapping C API exposing
  the mmap regions. Backs weight_residency = lazy_then_pin_resident
  and the resident_bytes gauge.

New upstream src/ additions are picked up automatically (models/
CMakeLists globs *.cpp; ggml-cuda globs *.cu/*.cuh). NIF builds
clean.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant