avoid kv truncation during create (#10761)

This commit is contained in:
Daniel Hiltgen
2025-05-19 13:54:54 -07:00
committed by GitHub
parent 94ab428e3f
commit 1a0cfd080a

View File

@@ -508,7 +508,7 @@ func ggufLayers(digest string, fn func(resp api.ProgressResponse)) ([]*layerGGML
var offset int64
for offset < stat.Size() {
f, err := ggml.Decode(blob, 1024)
f, err := ggml.Decode(blob, -1)
if errors.Is(err, io.EOF) {
break
} else if err != nil {