llama.cpp b12065

b12065Pre-release
Fixed 1
  • A cache sharing cells with another cache (such as the gemma4 assistant) no longer returns 0 kv_rows for sequences without cells, which previously caused the graph to fall back to the dense KQ mask and the scheduler to re-plan, leading to aborts with GGML_SCHED_DEBUG_REALLOC=1 on later graphs with larger masks

From llama.cpp

kv-cache : never return 0 kv_rows for sequences without cells (#31570)

A cache that shares the cells of another one (f.ex. the gemma4 assistant) can build a graph before its sequences have any cells, f.ex. at the server warmup. get_n_kv_rows() then returned 0, which means that kv_rows are not used, so the graph fell back to the dense KQ mask and the scheduler re-planned for it. Later graphs with larger masks then aborted with GGML_SCHED_DEBUG_REALLOC=1.

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI:

View original

Upgraded? How did it go?

Discussion