-
Notifications
You must be signed in to change notification settings - Fork 199
feat: Add ROCm detection and rocm variant support#214
Open
leonardopereira10 wants to merge 1 commit into
Open
feat: Add ROCm detection and rocm variant support #214leonardopereira10 wants to merge 1 commit into
leonardopereira10 wants to merge 1 commit into
Conversation
open-webui#208 Detect AMD/ROCm GPUs and expose a rocm variant. On Linux, detection checks for /opt/rocm or /usr/lib/rocm. On Windows, dxdiag is invoked and parsed for Adapter Family gfx identifiers (supported gfx list added) to identify AMD GPUs; temporary dxdiag_output.txt is cleaned up and protected with try/catch. Also added a Windows rocm asset name in getAssetPattern and added the 'rocm' option to the inference runtime UI.
leonardopereira10
commented
May 25, 2026
Author
I included the autodetect implementation, but I should at least keep the option to choose ROCm as the backend, as it offers better stability in contexts with more than 20,000 tokens.
@leonardopereira10
leonardopereira10
changed the title
(ει€) Add ROCm detection and rocm variant support (ει€γγγΎγ§)
(θΏ½θ¨) feat: Add ROCm detection and rocm variant support (θΏ½θ¨γγγΎγ§)
Jun 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
#208 Detect AMD/ROCm GPUs and expose a rocm variant. On Linux, detection checks for /opt/rocm or /usr/lib/rocm. On Windows, dxdiag is invoked and parsed for Adapter Family gfx identifiers (supported gfx list added) to identify AMD GPUs; temporary dxdiag_output.txt is cleaned up and protected with try/catch. Also added a Windows rocm asset name in getAssetPattern and added the 'rocm' option to the inference runtime UI.
Description
I included the autodetect implementation, but I should at least keep the option to choose ROCm as the backend, as it offers better stability in contexts with more than 20,000 tokens.
Autodetect is based on a parsing of Windows DxDiag to identify the supported GPU for ROCm (as per the list provided in the HIP documentation).
The download and extraction of HIP versions from llama.cpp has been adjusted by adding the item to the dictionary.
An option has been added to the backend configuration screen to allow selecting llama.cpp HIP/ROCm.
Related Issues
Closes #208
Contributor License Agreement
Note
Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.