浏览代码

fix causal test

Patrick Devine 2 月之前
父节点
当前提交
95fbf1da12
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kvcache/causal_test.go

+ 1 - 1
kvcache/causal_test.go

@@ -434,7 +434,7 @@ func (t *testTensor) Conv2D(ctx ml.Context, weight ml.Tensor, s0, s1, p0, p1, d0
 	panic("not implemented")
 }
 
-func (t *testTensor) RoPE(ctx ml.Context, positionIDs, ropeFactors ml.Tensor, dim uint32, base, scale float32) ml.Tensor {
+func (t *testTensor) RoPE(ctx ml.Context, positionIDs, ropeFactors ml.Tensor, dim, ropeType uint32, base, scale float32) ml.Tensor {
 	panic("not implemented")
 }