[PR #4441] [CLOSED] Use DRM driver for VRAM info for amd #37368

Closed
opened 2026-04-22 22:05:03 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4441
Author: @dhiltgen
Created: 5/14/2024
Status: Closed

Base: mainHead: gpu_info


📝 Commits (1)

  • 1fc4420 Use DRM driver for VRAM info for amd

📊 Changes

1 file changed (+105 additions, -58 deletions)

View changed files

📝 gpu/amd_linux.go (+105 -58)

📄 Description

The amdgpu drivers free VRAM reporting omits some other apps, so leverage the upstream DRM driver which keeps better tabs on things

Marking draft until I can do more testing...

Fixes #3765


🔄 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/4441 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 5/14/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `gpu_info` --- ### 📝 Commits (1) - [`1fc4420`](https://github.com/ollama/ollama/commit/1fc4420a558a3d1499983e22371aed15db89bcad) Use DRM driver for VRAM info for amd ### 📊 Changes **1 file changed** (+105 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `gpu/amd_linux.go` (+105 -58) </details> ### 📄 Description The amdgpu drivers free VRAM reporting omits some other apps, so leverage the upstream DRM driver which keeps better tabs on things Marking draft until I can do more testing... Fixes #3765 --- <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-22 22:05:03 -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#37368