b10166
ggml-org/llama.cppb10166Jul 28, 2026by github-actions[bot]same day as b10165
What changed since b10165
Internal ggml graph and sampler changes ensure views are never graph outputs, with a fix to the continuous distribution sampler.
Breaking changes
- ggml now asserts that tensor views cannot be set as graph outputs, so any custom graph code relying on that pattern will abort.
Improvements
- Graph output assignment now redirects to the view source tensor, improving graph correctness.
- Sampler was reworked to avoid producing views in its outputs.
- Logits handling was made consistent across the sampling path.
- set_outputs() logic in the graph was simplified and cleaned up.
Bug fixes
- Fixed the continuous (dist) sampler, which could produce incorrect results.
- Corrected output propagation for view tensors in ggml graphs.
Upgrade notes
No configuration or CLI changes are required; this is a drop-in build bump. If you maintain custom ggml graphs, stop marking view tensors as outputs since that now triggers an assertion. Re-validate sampling output quality after upgrading, as the sampler and logits paths changed.
Analyzed Nov 1, 2026
Upgrading?
Release notes summary
This release focuses on internal graph optimizations in the ggml library, specifically addressing how view sources and outputs are handled to improve graph correctness and sampler stability.
Key Highlights
- Optimized ggml graph to set output of view src correctly
- Fixed sampler to avoid views in outputs
- Fixed continuous distribution sampler
- Ensured consistent logits handling
Release Notes (excerpt)
<details open> ggml : set output of view src (#25729) * llama-graph: set_outputs to t->view_src * change set_output to GGML_ASSERT about views not being outputs * sampler : avoid views in outputs * cont : fix dist sampler * cont : consistent logits handling * ggml : set output of view src * graph : simplify set_outputs() * cont : cleanup Co-authored-by: Gaurav Garg <gaugarg@nvidia.com> --------- Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>…
Published by ggml-org on GitHub.
Read the full release notesRelated Repositories
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Godot Engine – Multi-platform 2D and 3D game engine
ClickHouse® is a real-time analytics database management system
Self-hosted game stream host for Moonlight.
DuckDB is a high-performance analytical database system