Unverified Commit 1a0cfd08 authored by Daniel Hiltgen's avatar Daniel Hiltgen Committed by GitHub
Browse files

avoid kv truncation during create (#10761)

parent 94ab428e
...@@ -508,7 +508,7 @@ func ggufLayers(digest string, fn func(resp api.ProgressResponse)) ([]*layerGGML ...@@ -508,7 +508,7 @@ func ggufLayers(digest string, fn func(resp api.ProgressResponse)) ([]*layerGGML
var offset int64 var offset int64
for offset < stat.Size() { for offset < stat.Size() {
f, err := ggml.Decode(blob, 1024) f, err := ggml.Decode(blob, -1)
if errors.Is(err, io.EOF) { if errors.Is(err, io.EOF) {
break break
} else if err != nil { } else if err != nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment