[PR #7174] [MERGED] llm: Remove GGML_CUDA_NO_PEER_COPY for ROCm #43586

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7174
Author: @dhiltgen
Created: 10/11/2024
Status: Merged
Merged: 10/12/2024
Merged by: @dhiltgen

Base: mainHead: rocm_small_ram


📝 Commits (1)

  • f80f65f llm: Remove GGML_CUDA_NO_PEER_COPY for ROCm

📊 Changes

2 files changed (+1 additions, -2 deletions)

View changed files

📝 llm/generate/gen_linux.sh (+1 -1)
📝 llm/generate/gen_windows.ps1 (+0 -1)

📄 Description

This workaround logic in llama.cpp is causing crashes for users with less system memory than VRAM.

The original change adding this was meant to resolve gibberish responses on multi-GPU radeon setups. I'll focus my testing on that to see if I see any regressions, and if not, drop the draft status.

Fixes #6756


🔄 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/7174 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 10/11/2024 **Status:** ✅ Merged **Merged:** 10/12/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `rocm_small_ram` --- ### 📝 Commits (1) - [`f80f65f`](https://github.com/ollama/ollama/commit/f80f65f2e9e2cade88cc733e69438688c5c14455) llm: Remove GGML_CUDA_NO_PEER_COPY for ROCm ### 📊 Changes **2 files changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `llm/generate/gen_linux.sh` (+1 -1) 📝 `llm/generate/gen_windows.ps1` (+0 -1) </details> ### 📄 Description This workaround logic in llama.cpp is causing crashes for users with less system memory than VRAM. The original change adding this was meant to resolve gibberish responses on multi-GPU radeon setups. I'll focus my testing on that to see if I see any regressions, and if not, drop the draft status. Fixes #6756 --- <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-24 23:11:46 -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#43586