mirror of
https://github.com/ollama/ollama.git
synced 2025-11-11 13:17:33 +01:00
explicitly decode maxarraysize 1024
This commit is contained in:
committed by
Michael Yang
parent
ced7d0e53d
commit
340448d2d1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user