[PR #11874] ggml: Use ordinal IDs for AMD GPUs on Linux when UUID is unavailable #13642

Closed
opened 2026-04-13 00:31:48 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11874

State: closed
Merged: Yes


Some AMD GPUs do not provide UUIDs and report only "XX". In these cases, we should use the ordinal ID as an alternate identifier. This is the same as we always need to do on Windows for AMD.

In addition, this prints out the ID for each GPU when enumerating them for easier debugging in the future.

**Original Pull Request:** https://github.com/ollama/ollama/pull/11874 **State:** closed **Merged:** Yes --- Some AMD GPUs do not provide UUIDs and report only "XX". In these cases, we should use the ordinal ID as an alternate identifier. This is the same as we always need to do on Windows for AMD. In addition, this prints out the ID for each GPU when enumerating them for easier debugging in the future.
GiteaMirror added the pull-request label 2026-04-13 00:31:48 -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#13642