[PR #2174] [MERGED] More logging for gpu management #10807

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2174
Author: @dhiltgen
Created: 1/24/2024
Status: Merged
Merged: 1/24/2024
Merged by: @dhiltgen

Base: mainHead: rocm_real_gpus


📝 Commits (1)

  • 013fd07 More logging for gpu management

📊 Changes

5 files changed (+61 additions, -44 deletions)

View changed files

📝 gpu/gpu.go (+3 -1)
📝 gpu/gpu_info_cuda.c (+26 -18)
📝 gpu/gpu_info_cuda.h (+6 -6)
📝 gpu/gpu_info_rocm.c (+21 -14)
📝 gpu/gpu_info_rocm.h (+5 -5)

📄 Description

Fix an ordering glitch of dlerr/dlclose and add more logging to help root cause some crashes users are hitting. This also refines the function pointer names to use the underlying function names instead of simplified names for readability.


🔄 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/2174 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 1/24/2024 **Status:** ✅ Merged **Merged:** 1/24/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `rocm_real_gpus` --- ### 📝 Commits (1) - [`013fd07`](https://github.com/ollama/ollama/commit/013fd071395087019b4e05959d8249f28ac11930) More logging for gpu management ### 📊 Changes **5 files changed** (+61 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `gpu/gpu.go` (+3 -1) 📝 `gpu/gpu_info_cuda.c` (+26 -18) 📝 `gpu/gpu_info_cuda.h` (+6 -6) 📝 `gpu/gpu_info_rocm.c` (+21 -14) 📝 `gpu/gpu_info_rocm.h` (+5 -5) </details> ### 📄 Description Fix an ordering glitch of dlerr/dlclose and add more logging to help root cause some crashes users are hitting. This also refines the function pointer names to use the underlying function names instead of simplified names for readability. --- <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:11:25 -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#10807