Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

kvcache: fix tests by adding AvgPool2D stub

jmorgancac6b6938b3a5d
diff --git a/kvcache/causal_test.go b/kvcache/causal_test.go
index ed23cad6a..56d85ceb6 100644
--- a/kvcache/causal_test.go
+++ b/kvcache/causal_test.go
@@ -445,6 +445,10 @@ func (t *testTensor) AvgPool1D(ctx ml.Context, k, s, p int) ml.Tensor {
panic("not implemented")
}
+func (t *testTensor) AvgPool2D(ctx ml.Context, k, s int, p float32) ml.Tensor {
+ panic("not implemented")
+}
+
func (t *testTensor) Conv2D(ctx ml.Context, weight ml.Tensor, s0, s1, p0, p1, d0, d1 int) ml.Tensor {
panic("not implemented")
}