Change8

Migrating to llama.cpp b10166

Version b10166 introduces 2 breaking changes. This guide details how to update your code.

Released: 7/28/2026

2
Breaking Changes
2
Migration Steps
4
Affected Symbols

⚠️ Check Your Code

If you use any of these symbols, you need to read this guide:

llama-graph:set_outputsggml:set_outputsamplercont

Breaking Changes

Issue #1

The `set_outputs` function in `llama-graph` has been changed to `t->view_src`. This is a breaking change for any code that directly calls `set_outputs` on graph nodes.

Issue #2

The `set_output` function now uses `GGML_ASSERT` to enforce that views cannot be outputs. This change prevents certain graph structures that were previously allowed but potentially problematic.

Migration Steps

  1. 1
    Update calls from `set_outputs` to `t->view_src` within `llama-graph` if you are directly manipulating graph outputs.
  2. 2
    Review graph construction logic to ensure views are not being set as outputs, as this is now an assertion failure.

Release Summary

This release focuses on internal improvements to the ggml graph and sampler logic, including stricter handling of view outputs and bug fixes for sampler and continuous inference.

Need More Details?

View the full release notes and all changes for llama.cpp b10166.

View Full Changelog