[PR #12655] [MERGED] vulkan: Get FilterID from Backend for Vulkan #13903

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12655
Author: @inforithmics
Created: 10/16/2025
Status: Merged
Merged: 10/16/2025
Merged by: @dhiltgen

Base: mainHead: VulkanNumericIdFromGgml


📝 Commits (2)

  • 13223f7 vulkan: Get FilterID from Backend for Vulkan
  • 28e8948 Fixing patch

📊 Changes

6 files changed (+11 additions, -9 deletions)

View changed files

📝 discover/runner.go (+0 -7)
📝 llama/patches/0026-GPU-discovery-enhancements.patch (+3 -1)
📝 llama/patches/0028-vulkan-pci-and-memory.patch (+2 -1)
📝 ml/backend/ggml/ggml.go (+3 -0)
📝 ml/backend/ggml/ggml/include/ggml-backend.h (+2 -0)
📝 ml/backend/ggml/ggml/src/ggml-vulkan/ggml-vulkan.cpp (+1 -0)

📄 Description

This pull request gets the numeric id of the vulkan devices (for example 0 or 1 .....), from the vulkan backend removing the workaround that was done in ollma to set the FilterID.
A side effect of this could be this https://github.com/ollama/ollama/pull/12650. Because it was done for all backends and so the FilterId was filled. with sending the numeric id to ollama and setting the filter ID this is fixed in a more stable way. Because it is done only for Vulkan at the moment.


🔄 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/12655 **Author:** [@inforithmics](https://github.com/inforithmics) **Created:** 10/16/2025 **Status:** ✅ Merged **Merged:** 10/16/2025 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `VulkanNumericIdFromGgml` --- ### 📝 Commits (2) - [`13223f7`](https://github.com/ollama/ollama/commit/13223f71ad1e7eb44f554d86276035e98183f333) vulkan: Get FilterID from Backend for Vulkan - [`28e8948`](https://github.com/ollama/ollama/commit/28e89489ae9ffc9f84176a7b971489a722a15d00) Fixing patch ### 📊 Changes **6 files changed** (+11 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `discover/runner.go` (+0 -7) 📝 `llama/patches/0026-GPU-discovery-enhancements.patch` (+3 -1) 📝 `llama/patches/0028-vulkan-pci-and-memory.patch` (+2 -1) 📝 `ml/backend/ggml/ggml.go` (+3 -0) 📝 `ml/backend/ggml/ggml/include/ggml-backend.h` (+2 -0) 📝 `ml/backend/ggml/ggml/src/ggml-vulkan/ggml-vulkan.cpp` (+1 -0) </details> ### 📄 Description This pull request gets the numeric id of the vulkan devices (for example 0 or 1 .....), from the vulkan backend removing the workaround that was done in ollma to set the FilterID. A side effect of this could be this https://github.com/ollama/ollama/pull/12650. Because it was done for all backends and so the FilterId was filled. with sending the numeric id to ollama and setting the filter ID this is fixed in a more stable way. Because it is done only for Vulkan at the moment. --- <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:39:52 -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#13903