[PR #6164] [CLOSED] Update gpu.go to support older amdgpu #17310

Closed
opened 2026-04-16 05:58:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6164
Author: @vjr
Created: 8/4/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (1)

  • 0c06132 Update gpu.go to support older amdgpu

📊 Changes

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

View changed files

📝 gpu/gpu.go (+1 -1)

📄 Description

Unblock users trying to run on older GPUs like AMD RX 580 when setting env vars ROC_ENABLE_PRE_VEGA=1 and HSA_OVERRIDE_GFX_VERSION=8.0.3 which should fix the error from https://github.com/ollama/ollama/blob/main/gpu/gpu.go#L62 and https://github.com/ollama/ollama/blob/main/gpu/amd_linux.go#L200 about gpu being too old.


🔄 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/6164 **Author:** [@vjr](https://github.com/vjr) **Created:** 8/4/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`0c06132`](https://github.com/ollama/ollama/commit/0c061322391e13ea3b13397417343ceb407a800b) Update gpu.go to support older amdgpu ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `gpu/gpu.go` (+1 -1) </details> ### 📄 Description Unblock users trying to run on older GPUs like AMD RX 580 when setting env vars `ROC_ENABLE_PRE_VEGA=1` and `HSA_OVERRIDE_GFX_VERSION=8.0.3` which should fix the error from https://github.com/ollama/ollama/blob/main/gpu/gpu.go#L62 and https://github.com/ollama/ollama/blob/main/gpu/amd_linux.go#L200 about gpu being too old. --- <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-16 05:58:54 -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#17310