[PR #14378] [MERGED] model: support for qwen3.5 architecture #40517

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

📋 Pull Request Information

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

Base: mainHead: jmorganca/qwen35


📝 Commits (10+)

📊 Changes

31 files changed (+1880 additions, -1606 deletions)

View changed files

📝 convert/convert.go (+1 -1)
📝 convert/convert_qwen3next.go (+532 -98)
convert/convert_qwen3next_test.go (+563 -0)
📝 convert/tokenizer.go (+2 -0)
📝 convert/tokenizer_test.go (+22 -0)
📝 fs/ggml/ggml.go (+8 -1)
📝 kvcache/recurrent.go (+2 -2)
📝 model/models/qwen3next/cache.go (+29 -566)
model/models/qwen3next/checkpoints.go (+0 -498)
model/models/qwen3next/checkpoints_test.go (+0 -300)
📝 model/models/qwen3next/deltanet.go (+56 -30)
📝 model/models/qwen3next/model.go (+251 -9)
model/models/qwen3next/model_posttokenize_test.go (+101 -0)
📝 model/models/qwen3vl/imageprocessor.go (+2 -2)
📝 model/models/qwen3vl/model.go (+42 -52)
📝 model/models/qwen3vl/model_vision.go (+2 -2)
📝 model/parsers/parsers.go (+2 -0)
📝 model/parsers/parsers_test.go (+1 -0)
📝 model/parsers/qwen3_test.go (+23 -0)
📝 model/renderers/lfm2.go (+21 -10)

...and 11 more files

📄 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/14378 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 2/23/2026 **Status:** ✅ Merged **Merged:** 2/25/2026 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/qwen35` --- ### 📝 Commits (10+) - [`80a1376`](https://github.com/ollama/ollama/commit/80a1376f230f466fa1c4ed3a21163402376b6327) model: support for qwen3.5 architecture - [`56f4135`](https://github.com/ollama/ollama/commit/56f4135c3ce253b9a3c989683b34af4b22ecf0f3) lint - [`e72e85d`](https://github.com/ollama/ollama/commit/e72e85da6a43fc288a4d378a5184dd286b782e2b) adjust recurrent cache checkpoints to 24 with interval 1664 - [`fc1c9a6`](https://github.com/ollama/ollama/commit/fc1c9a6c93e1461be2e6644c9148e684a9b691d5) cleanup - [`044d8ab`](https://github.com/ollama/ollama/commit/044d8aba85648bd259ab50b2177911bba48828a0) undo unnecessary changes - [`a541c91`](https://github.com/ollama/ollama/commit/a541c91d92f4433cd0380d78b86d7885806d24a9) more cleanup - [`127d9f3`](https://github.com/ollama/ollama/commit/127d9f395108a49f19e45976de440581fd7162cd) undo unnecessary changes - [`5bc8791`](https://github.com/ollama/ollama/commit/5bc87911550d18af7a021550289e19f955eeafa3) undo unnecessary changes - [`9182840`](https://github.com/ollama/ollama/commit/91828400072b7dc3636f879ca77850788e21a1af) undo unnecessary changes - [`c6b772b`](https://github.com/ollama/ollama/commit/c6b772b052d640ed0ff590dfb21f941100e267c9) undo whitespace change ### 📊 Changes **31 files changed** (+1880 additions, -1606 deletions) <details> <summary>View changed files</summary> 📝 `convert/convert.go` (+1 -1) 📝 `convert/convert_qwen3next.go` (+532 -98) ➕ `convert/convert_qwen3next_test.go` (+563 -0) 📝 `convert/tokenizer.go` (+2 -0) 📝 `convert/tokenizer_test.go` (+22 -0) 📝 `fs/ggml/ggml.go` (+8 -1) 📝 `kvcache/recurrent.go` (+2 -2) 📝 `model/models/qwen3next/cache.go` (+29 -566) ➖ `model/models/qwen3next/checkpoints.go` (+0 -498) ➖ `model/models/qwen3next/checkpoints_test.go` (+0 -300) 📝 `model/models/qwen3next/deltanet.go` (+56 -30) 📝 `model/models/qwen3next/model.go` (+251 -9) ➕ `model/models/qwen3next/model_posttokenize_test.go` (+101 -0) 📝 `model/models/qwen3vl/imageprocessor.go` (+2 -2) 📝 `model/models/qwen3vl/model.go` (+42 -52) 📝 `model/models/qwen3vl/model_vision.go` (+2 -2) 📝 `model/parsers/parsers.go` (+2 -0) 📝 `model/parsers/parsers_test.go` (+1 -0) 📝 `model/parsers/qwen3_test.go` (+23 -0) 📝 `model/renderers/lfm2.go` (+21 -10) _...and 11 more files_ </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-04-23 01:24:12 -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#40517