From 7465c0118e8e3817007914c96d5781bcd219b05d Mon Sep 17 00:00:00 2001 From: Michael Yang Date: Wed, 2 Apr 2025 12:11:09 -0700 Subject: [PATCH] mistral3 memory mistral3 graph is very similar to gemma3 so use that for now --- fs/ggml/ggml.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ggml/ggml.go b/fs/ggml/ggml.go index f04fdcf14..6e534bfa9 100644 --- a/fs/ggml/ggml.go +++ b/fs/ggml/ggml.go @@ -626,7 +626,7 @@ func (llm GGML) VisionGraphSize() (weights, graphSize uint64) { embeddingLength*numPatches*maxNumTiles + 9*embeddingLength*numPaddedPatches*maxNumTiles + numPaddedPatches*maxNumTiles*numPaddedPatches*maxNumTiles*headCount) - case "gemma3": + case "gemma3", "mistral3": graphSize = 4 * (imageSize*imageSize*numChannels + embeddingLength*patchSize + numPatches*numPatches*headCount)