[PR #12427] add fixes for rocm-7 support #39694

Open
opened 2026-04-23 00:41:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/12427
Author: @Pekkari
Created: 9/26/2025
Status: 🔄 Open

Base: mainHead: main


📝 Commits (5)

  • 5b12dc9 build(rocm): add rocm-7 runtime dependencies
  • 27530db build(rocm): add gfx1103 target
  • f5536b5 docker: add rocm-7 library path
  • ff8e0c9 build: bump to hipblas 3
  • b119df1 build: change rocm installer path

📊 Changes

4 files changed (+6 additions, -6 deletions)

View changed files

📝 CMakeLists.txt (+2 -2)
📝 CMakePresets.json (+1 -1)
📝 Dockerfile (+1 -1)
📝 discover/amd_linux.go (+2 -2)

📄 Description

This patch set fixes multiple issues to allow the ggml-hip backend works with a build of rocm-7, particularly when running the gfx1103 platform, that currently only works when self building rocm-7 using TheRock. I split it as much as I could, so that any patches can be consumed when the time comes, since I understand the main branch is currently in 6.3, and can be that some other minor glitches would need to be solved to fully drop rocm-6 and concentrate in rocm-7.

fixes: #12303


🔄 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/12427 **Author:** [@Pekkari](https://github.com/Pekkari) **Created:** 9/26/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (5) - [`5b12dc9`](https://github.com/ollama/ollama/commit/5b12dc954bd7389f29f8b92de881c73f9b0925ce) build(rocm): add rocm-7 runtime dependencies - [`27530db`](https://github.com/ollama/ollama/commit/27530db611d27503707caec09cefcd2bd2ebde2d) build(rocm): add gfx1103 target - [`f5536b5`](https://github.com/ollama/ollama/commit/f5536b5bf5625c547ca8cc6351cda6e7a3665ebe) docker: add rocm-7 library path - [`ff8e0c9`](https://github.com/ollama/ollama/commit/ff8e0c9ad6e656b6a47bf3bfada782f6033cc0cc) build: bump to hipblas 3 - [`b119df1`](https://github.com/ollama/ollama/commit/b119df1cb416d6bf9b1edbb3be4ee85c4c37fc30) build: change rocm installer path ### 📊 Changes **4 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+2 -2) 📝 `CMakePresets.json` (+1 -1) 📝 `Dockerfile` (+1 -1) 📝 `discover/amd_linux.go` (+2 -2) </details> ### 📄 Description This patch set fixes multiple issues to allow the ggml-hip backend works with a build of rocm-7, particularly when running the gfx1103 platform, that currently only works when self building rocm-7 using TheRock. I split it as much as I could, so that any patches can be consumed when the time comes, since I understand the main branch is currently in 6.3, and can be that some other minor glitches would need to be solved to fully drop rocm-6 and concentrate in rocm-7. fixes: #12303 --- <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-23 00:41:08 -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#39694