[PR #13382] [MERGED] fix: qwen2.5vl metal argsort #19456

Closed
opened 2026-04-16 07:08:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13382
Author: @mxyng
Created: 12/8/2025
Status: Merged
Merged: 12/9/2025
Merged by: @mxyng

Base: mainHead: mxyng/metal-argsort


📝 Commits (1)

  • 260b165 fix: qwen2.5vl metal argsort

📊 Changes

4 files changed (+455 additions, -8 deletions)

View changed files

📝 llama/patches/0013-add-argsort-and-cuda-copy-for-i32.patch (+162 -7)
📝 llama/patches/0027-interleave-multi-rope.patch (+1 -1)
📝 ml/backend/ggml/ggml/src/ggml-metal/ggml-metal-embed.metal (+146 -0)
📝 ml/backend/ggml/ggml/src/ggml-metal/ggml-metal.metal (+146 -0)

📄 Description

this change fixes an issue with qwen2.5vl model crash when an image is passed in


🔄 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/13382 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 12/8/2025 **Status:** ✅ Merged **Merged:** 12/9/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/metal-argsort` --- ### 📝 Commits (1) - [`260b165`](https://github.com/ollama/ollama/commit/260b165a1a5b4a19d8235655a095c7e3c5a2afc4) fix: qwen2.5vl metal argsort ### 📊 Changes **4 files changed** (+455 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `llama/patches/0013-add-argsort-and-cuda-copy-for-i32.patch` (+162 -7) 📝 `llama/patches/0027-interleave-multi-rope.patch` (+1 -1) 📝 `ml/backend/ggml/ggml/src/ggml-metal/ggml-metal-embed.metal` (+146 -0) 📝 `ml/backend/ggml/ggml/src/ggml-metal/ggml-metal.metal` (+146 -0) </details> ### 📄 Description this change fixes an issue with qwen2.5vl model crash when an image is passed in --- <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-16 07:08:00 -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#19456