[PR #1875] [MERGED] Calculate overhead based number of gpu devices #10710

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1875
Author: @jmorganca
Created: 1/9/2024
Status: Merged
Merged: 1/9/2024
Merged by: @jmorganca

Base: mainHead: multi-gpu-oh


📝 Commits (1)

  • 0c84400 calculate overhead based number of gpu devices

📊 Changes

8 files changed (+13 additions, -6 deletions)

View changed files

📝 gpu/gpu.go (+3 -1)
📝 gpu/gpu_darwin.go (+1 -0)
📝 gpu/gpu_info.h (+1 -0)
📝 gpu/gpu_info_cpu.c (+2 -0)
📝 gpu/gpu_info_cuda.c (+2 -4)
📝 gpu/gpu_info_rocm.c (+2 -0)
📝 gpu/gpu_test.go (+1 -1)
📝 gpu/types.go (+1 -0)

📄 Description

The CUDA memory allocated for overhead is placed on a single GPU


🔄 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/1875 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 1/9/2024 **Status:** ✅ Merged **Merged:** 1/9/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `multi-gpu-oh` --- ### 📝 Commits (1) - [`0c84400`](https://github.com/ollama/ollama/commit/0c84400477cb5a41447f124dc9e934c77121c429) calculate overhead based number of gpu devices ### 📊 Changes **8 files changed** (+13 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `gpu/gpu.go` (+3 -1) 📝 `gpu/gpu_darwin.go` (+1 -0) 📝 `gpu/gpu_info.h` (+1 -0) 📝 `gpu/gpu_info_cpu.c` (+2 -0) 📝 `gpu/gpu_info_cuda.c` (+2 -4) 📝 `gpu/gpu_info_rocm.c` (+2 -0) 📝 `gpu/gpu_test.go` (+1 -1) 📝 `gpu/types.go` (+1 -0) </details> ### 📄 Description The CUDA memory allocated for overhead is placed on a single GPU --- <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-12 23:08:28 -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#10710