[PR #9954] [CLOSED] install.sh : add OLLAMA_INSTALL_ROCM to make ROCM installation optional #18378

Closed
opened 2026-04-16 06:33:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9954
Author: @SuperUserNameMan
Created: 3/23/2025
Status: Closed

Base: mainHead: OLLAMA_INSTALL_ROCM


📝 Commits (1)

  • c8a1eba Update install.sh - add OLLAMA_INSTALL_ROCM

📊 Changes

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

View changed files

📝 scripts/install.sh (+3 -1)

📄 Description

Some AMD integrated GPU are not supported by ROCm, but the install script installs it anyway.

This PR makes Ollama ROCm installation optional on Linux.

New environment variable :

OLLAMA_INSTALL_ROCM takes boolean true or false, defaults to true.

Usage example :

curl -fsSL https://ollama.com/install.sh | OLLAMA_INSTALL_ROCM=false sh

Note :
I'm not fluent at all with bash scripting. I asked GPT for help. Please, double check.


🔄 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/9954 **Author:** [@SuperUserNameMan](https://github.com/SuperUserNameMan) **Created:** 3/23/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `OLLAMA_INSTALL_ROCM` --- ### 📝 Commits (1) - [`c8a1eba`](https://github.com/ollama/ollama/commit/c8a1ebaed0b7892bd371ae9914147767001de1bb) Update install.sh - add `OLLAMA_INSTALL_ROCM` ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/install.sh` (+3 -1) </details> ### 📄 Description Some AMD integrated GPU are not supported by ROCm, but the install script installs it anyway. This PR makes Ollama ROCm installation optional on Linux. **New environment variable :** `OLLAMA_INSTALL_ROCM` takes boolean `true` or `false`, defaults to `true`. **Usage example :** `curl -fsSL https://ollama.com/install.sh | OLLAMA_INSTALL_ROCM=false sh` **Note :** I'm not fluent at all with bash scripting. I asked GPT for help. Please, double check. --- <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 06:33:21 -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#18378