mirror of
https://github.com/ollama/ollama.git
synced 2026-10-21 19:11:17 +00:00
count non-repeating vision layers
This commit is contained in:
parent
65b88c544f
commit
8d76fa23ef
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ func (llm GGML) VisionGraphSize() (weights, graphSize uint64) {
|
|||
}
|
||||
|
||||
for name, layer := range llm.Tensors().GroupLayers() {
|
||||
if strings.HasPrefix(name, "v.") {
|
||||
if name == "v" || strings.HasPrefix(name, "v.") {
|
||||
for _, tensor := range layer {
|
||||
weights += tensor.Size()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue