explicitly decode maxarraysize 1024

This commit is contained in:
Michael Yang 2025-04-25 16:08:25 -07:00 committed by Michael Yang
parent ced7d0e53d
commit 340448d2d1
4 changed files with 6 additions and 6 deletions

View file

@ -414,7 +414,7 @@ func projectorMemoryRequirements(filename string) (weights, graphSize uint64) {
}
defer file.Close()
ggml, _, err := ggml.Decode(file, 0)
ggml, _, err := ggml.Decode(file, 1024)
if err != nil {
return 0, 0
}