[GH-ISSUE #11093] AMD GPU drivers are not installed when nvidia-smi is present #7317

Open
opened 2026-04-12 19:22:07 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @madcato on GitHub (Jun 17, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/11093

Trying to update my ollama version, my AMD GPU stopped being used by ollama.

In the install.sh this three lines prevent AMD GPU drivers to be installed:

if check_gpu nvidia-smi; then
    status "NVIDIA GPU installed."
    exit 0
fi

Because if nvidia-smi is present, the script exits.

Analyzing the script, it seems to me that install.sh is not suitable for those who have both an NVIDIA and AMD GPUs.

Originally created by @madcato on GitHub (Jun 17, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/11093 Trying to update my ollama version, my AMD GPU stopped being used by ollama. In the `install.sh` this three lines prevent AMD GPU drivers to be installed: ```sh if check_gpu nvidia-smi; then status "NVIDIA GPU installed." exit 0 fi ``` Because if `nvidia-smi` is present, the script exits. Analyzing the script, it seems to me that `install.sh` is not suitable for those who have both an NVIDIA and AMD GPUs.
GiteaMirror added the bug label 2026-04-12 19:22:07 -05:00
Author
Owner

@rick-github commented on GitHub (Jun 17, 2025):

#10883

<!-- gh-comment-id:2979900802 --> @rick-github commented on GitHub (Jun 17, 2025): #10883
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#7317