[PR #9703] [MERGED] count gemma3 vision tensors #75333

Closed
opened 2026-05-05 07:45:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9703
Author: @mxyng
Created: 3/12/2025
Status: Merged
Merged: 3/13/2025
Merged by: @mxyng

Base: mainHead: mxyng/gemma3-memory


📝 Commits (5)

📊 Changes

2 files changed (+34 additions, -21 deletions)

View changed files

📝 fs/ggml/ggml.go (+32 -19)
📝 llm/memory.go (+2 -2)

📄 Description

this also fixes a bug with the logging the memory requirements where it miscounts the layer sizes

resolves #9685


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/9703 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 3/12/2025 **Status:** ✅ Merged **Merged:** 3/13/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/gemma3-memory` --- ### 📝 Commits (5) - [`033cec2`](https://github.com/ollama/ollama/commit/033cec232a7e6702d6a79ca22ca81200fad5873b) count gemma3 vision tensors - [`d2ec223`](https://github.com/ollama/ollama/commit/d2ec22371edba325903588b9515dd94b15b80d76) count all vision tensors - [`a422ba3`](https://github.com/ollama/ollama/commit/a422ba39c94adc870da84e5fa442c0bf81c77f27) roughly count gemma3 graph - [`65b88c5`](https://github.com/ollama/ollama/commit/65b88c544f08ce3e5b1d193e82b72735095f795c) fix divide by zero - [`8d76fa2`](https://github.com/ollama/ollama/commit/8d76fa23ef058d98cb66ad9c3ecc5fff6d380ca1) count non-repeating vision layers ### 📊 Changes **2 files changed** (+34 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `fs/ggml/ggml.go` (+32 -19) 📝 `llm/memory.go` (+2 -2) </details> ### 📄 Description this also fixes a bug with the logging the memory requirements where it miscounts the layer sizes resolves #9685 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 07:45:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#75333