[PR #12516] [MERGED] convert: update gpt-oss conversion to split gate up #13853

Closed
opened 2026-04-13 00:38:38 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12516
Author: @mxyng
Created: 10/6/2025
Status: Merged
Merged: 10/10/2025
Merged by: @mxyng

Base: mainHead: mxyng/convert


📝 Commits (5)

📊 Changes

2 files changed (+61 additions, -14 deletions)

View changed files

📝 convert/convert_gptoss.go (+53 -10)
📝 convert/tensor.go (+8 -4)

📄 Description

this allows the model to go down a simplified branch and avoid two contiguous calls


🔄 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/12516 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 10/6/2025 **Status:** ✅ Merged **Merged:** 10/10/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/convert` --- ### 📝 Commits (5) - [`4a48ea3`](https://github.com/ollama/ollama/commit/4a48ea3a45c6b474d3c0af81ce8f4c9ac48600f4) convert: split gate_up bias - [`70d8667`](https://github.com/ollama/ollama/commit/70d8667111da72d0a678ce604d5f80618a190bec) convert: slice gate_up weight - [`f8ebc2c`](https://github.com/ollama/ollama/commit/f8ebc2ca3c30af285eb7086a0589ac7833dcb789) fix lint - [`2d8f4b2`](https://github.com/ollama/ollama/commit/2d8f4b2652fde6d4dd7efdcb958b84c040f88d5a) fix test - [`7ed6048`](https://github.com/ollama/ollama/commit/7ed60483a523dc5a1acd8aa37bdf4c14e4521bf8) comment split ### 📊 Changes **2 files changed** (+61 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `convert/convert_gptoss.go` (+53 -10) 📝 `convert/tensor.go` (+8 -4) </details> ### 📄 Description this allows the model to go down a simplified branch and avoid two contiguous calls --- <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-13 00:38:38 -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#13853