Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
kvcache: Log contents of cache when unable to find a slot
Jesse Gross0d38b6650259
diff --git a/kvcache/causal.go b/kvcache/causal.goindex 56c936003..96d8067eb 100644--- a/kvcache/causal.go+++ b/kvcache/causal.go@@ -214,6 +214,7 @@ func (c *Causal) StartForward(ctx ml.Context, batch input.Batch, reserve bool) ec.curLoc, err = c.findStartLoc()}if err != nil {+ slog.Warn("unable to find a kv cache slot", "cache", c)return err}