[PR #7322] [MERGED] Refine default thread selection for NUMA systems #74677

Closed
opened 2026-05-05 06:54:12 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7322
Author: @dhiltgen
Created: 10/22/2024
Status: Merged
Merged: 10/30/2024
Merged by: @dhiltgen

Base: mainHead: linux_cpuinfo


📝 Commits (1)

  • 93f6d39 Refine default thread selection for NUMA systems

📊 Changes

3 files changed (+2121 additions, -6 deletions)

View changed files

📝 discover/gpu_linux.go (+17 -4)
discover/gpu_linux_test.go (+2097 -0)
📝 discover/types.go (+7 -2)

📄 Description

Until we have full NUMA support, this adjusts the default thread selection algorithm to count up the number of performance cores across all sockets.

Fixes #7287
Fixes #7359


🔄 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/7322 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 10/22/2024 **Status:** ✅ Merged **Merged:** 10/30/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `linux_cpuinfo` --- ### 📝 Commits (1) - [`93f6d39`](https://github.com/ollama/ollama/commit/93f6d39b764c8c2f01cda0c079ba27a49648f931) Refine default thread selection for NUMA systems ### 📊 Changes **3 files changed** (+2121 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `discover/gpu_linux.go` (+17 -4) ➕ `discover/gpu_linux_test.go` (+2097 -0) 📝 `discover/types.go` (+7 -2) </details> ### 📄 Description Until we have full NUMA support, this adjusts the default thread selection algorithm to count up the number of performance cores across all sockets. Fixes #7287 Fixes #7359 --- <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 06:54: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#74677