The llama.cpp project released build b10584, addressing a critical issue where the draft context size did not match the target context, causing server requests to fail with 500 errors.

  • The server now ensures the draft context follows the target context's size, preventing decoding failures when slots are filled beyond previous limits.
  • Memory reservation for the draft model is measured at the largest context the target can take, allowing contexts sharing cells with the target to drop the kv_size override.
  • The fit function now takes an optional second model into account, ensuring its memory is measured whenever the main context changes to keep the reduce path exact.

This update resolves stability issues in server deployments by aligning draft and target context sizes dynamically.