[PR #3250] [MERGED] Add gemma safetensors conversion #11102

Closed
opened 2026-04-12 23:21:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3250
Author: @pdevine
Created: 3/19/2024
Status: Merged
Merged: 3/29/2024
Merged by: @pdevine

Base: mainHead: gemma


📝 Commits (8)

📊 Changes

11 files changed (+941 additions, -825 deletions)

View changed files

📝 .golangci.yaml (+0 -10)
📝 cmd/cmd.go (+4 -1)
📝 cmd/interactive.go (+6 -2)
📝 convert/convert.go (+346 -56)
📝 go.mod (+1 -1)
📝 llm/ggla.go (+25 -23)
📝 llm/ggml.go (+82 -3)
📝 llm/gguf.go (+446 -718)
📝 readline/history.go (+3 -1)
📝 server/images.go (+16 -8)
📝 server/routes_test.go (+12 -2)

📄 Description

This change adds the ability to convert from a Gemma safetensors model.


🔄 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/3250 **Author:** [@pdevine](https://github.com/pdevine) **Created:** 3/19/2024 **Status:** ✅ Merged **Merged:** 3/29/2024 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `gemma` --- ### 📝 Commits (8) - [`2736eab`](https://github.com/ollama/ollama/commit/2736eab6aad2c9a993d6c71ddf3cb109610b8371) add gemma - [`5d8ba8e`](https://github.com/ollama/ollama/commit/5d8ba8e05e36fbc380928195e017128cb658ba7e) fix lint - [`44d29bf`](https://github.com/ollama/ollama/commit/44d29bf6fd88c9a2160351f81faaee5887e5f06c) add status strings - [`e24de70`](https://github.com/ollama/ollama/commit/e24de708ab42ca523513e238d99e9f753350cc9f) use correct arch for mistral - [`91d5dca`](https://github.com/ollama/ollama/commit/91d5dca8248f4b4ac0f8ae14d2ad3db6982509a0) update convert - [`c980bb3`](https://github.com/ollama/ollama/commit/c980bb39554fcbdb1e418f0265ab24969542943b) add dummy padding tokens if we don't have a complete vocabulary - [`46cb1bb`](https://github.com/ollama/ollama/commit/46cb1bba91a3b8c64aa1c66a1d384e5624e86915) fix merge - [`7621fc4`](https://github.com/ollama/ollama/commit/7621fc4b5482312b2b54f1f457f2aa4d2e990d3b) feed the linter ### 📊 Changes **11 files changed** (+941 additions, -825 deletions) <details> <summary>View changed files</summary> 📝 `.golangci.yaml` (+0 -10) 📝 `cmd/cmd.go` (+4 -1) 📝 `cmd/interactive.go` (+6 -2) 📝 `convert/convert.go` (+346 -56) 📝 `go.mod` (+1 -1) 📝 `llm/ggla.go` (+25 -23) 📝 `llm/ggml.go` (+82 -3) 📝 `llm/gguf.go` (+446 -718) 📝 `readline/history.go` (+3 -1) 📝 `server/images.go` (+16 -8) 📝 `server/routes_test.go` (+12 -2) </details> ### 📄 Description This change adds the ability to convert from a Gemma safetensors model. --- <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-04-12 23:21:19 -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#11102