The llama.cpp project released build b10662, introducing a new `--kv-unified-per-slot` argument that allows users to specify context per slot for the unified KV cache. This change replaces the previous context fraction mechanism with context pool slots and refactors the underlying implementation.

  • Adds the `ctx-per-slot` argument to manage unified KV cache allocation more granularly.
  • Swaps out ctx fractions for ctx pool slots to improve memory management logic.
  • Removes the deprecated `ctx-pool-slots` parameter and converts `ctx-per-slot` to an integer type.
  • Includes general formatting cleanup and code refactoring by Xuan Son Nguyen.

This update provides users with finer control over context window distribution across multiple slots in the unified KV cache system.