Bruce MacDonald hai 2 meses
pai
achega
67b9c41ef7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      runner/ollamarunner/cache_test.go

+ 1 - 0
runner/ollamarunner/cache_test.go

@@ -322,6 +322,7 @@ func (m *mockCache) Init(backend ml.Backend, dtype ml.DType, capacity int32)
 func (m *mockCache) Close()                                                           {}
 func (m *mockCache) StartForward(ctx ml.Context, positions []int32, seqs []int) error { return nil }
 func (m *mockCache) CopyPrefix(srcSeq, dstSeq int, len int32)                         {}
+func (m *mockCache) SetConfig(ml.CacheConfig)                                         {}
 
 func TestShiftCacheSlot(t *testing.T) {
 	tests := []struct {