[PR #14024] [MERGED] GLM-OCR support #76770

Closed
opened 2026-05-05 09:26:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14024
Author: @jmorganca
Created: 2/2/2026
Status: Merged
Merged: 2/2/2026
Merged by: @jmorganca

Base: mainHead: ollama-glm-ocr


📝 Commits (1)

  • 385c4cc Add GLM-OCR vision model support

📊 Changes

15 files changed (+1553 additions, -0 deletions)

View changed files

📝 convert/convert.go (+2 -0)
convert/convert_glmocr.go (+455 -0)
📝 convert/reader_safetensors.go (+1 -0)
📝 fs/ggml/ggml.go (+2 -0)
📝 ml/backend.go (+1 -0)
📝 ml/backend/ggml/ggml.go (+7 -0)
model/models/glmocr/imageprocessor.go (+174 -0)
model/models/glmocr/model.go (+235 -0)
model/models/glmocr/model_text.go (+190 -0)
model/models/glmocr/model_vision.go (+355 -0)
📝 model/models/models.go (+1 -0)
model/parsers/glmocr.go (+17 -0)
📝 model/parsers/parsers.go (+2 -0)
model/renderers/glmocr.go (+109 -0)
📝 model/renderers/renderer.go (+2 -0)

📄 Description

No description provided


🔄 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/14024 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 2/2/2026 **Status:** ✅ Merged **Merged:** 2/2/2026 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `ollama-glm-ocr` --- ### 📝 Commits (1) - [`385c4cc`](https://github.com/ollama/ollama/commit/385c4ccbe5f37597d6b982ae234abebf290744fe) Add GLM-OCR vision model support ### 📊 Changes **15 files changed** (+1553 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `convert/convert.go` (+2 -0) ➕ `convert/convert_glmocr.go` (+455 -0) 📝 `convert/reader_safetensors.go` (+1 -0) 📝 `fs/ggml/ggml.go` (+2 -0) 📝 `ml/backend.go` (+1 -0) 📝 `ml/backend/ggml/ggml.go` (+7 -0) ➕ `model/models/glmocr/imageprocessor.go` (+174 -0) ➕ `model/models/glmocr/model.go` (+235 -0) ➕ `model/models/glmocr/model_text.go` (+190 -0) ➕ `model/models/glmocr/model_vision.go` (+355 -0) 📝 `model/models/models.go` (+1 -0) ➕ `model/parsers/glmocr.go` (+17 -0) 📝 `model/parsers/parsers.go` (+2 -0) ➕ `model/renderers/glmocr.go` (+109 -0) 📝 `model/renderers/renderer.go` (+2 -0) </details> ### 📄 Description _No description provided_ --- <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 09:26:10 -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#76770