chaiNNer PyTorch with ROCm for AMD GPU (Linux) #3229
mrintrepide
started this conversation in
General
Replies: 1 comment 5 replies
-
|
Sadly, this didn't work for me. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
chaiNNer use different backend, but PyTorch is the most used.
PyTorch have an official ROCm version (and AMD build)
EDIT: Stop working with Kernel 6.18.4 and newer, need to use newer ROCm 7.11 build from nightly AMD repo
Use torch==2.7.1+rocm7.11.0a20260114 and torchvision==0.22.1+rocm7.11.0a20260114 with https://rocm.nightlies.amd.com/v2/gfx-XXXX
You can just install it without rebuild chaiNNer from built-in Dependency Manager
Switch to "Advanced" in Python and select "Manual/Copy"
Click on "Install" PyTorch, it's copy command line to install manually from terminal with pip the PyTorch dependency.
You need to change package name and add AMD PyTorch repo.
For RDNA 2 (GFX1030) ROCm 6.3
For RDNA 3 (GFX1100 / GFX1101) ROCm 7.10
For RDNA 3.5 (GFX1150 - Strix Point - Radeon 8X0M) ROCm 7.10
For RDNA 3.5 (GFX1151 - Strix Halo - Radeon 80X0S) ROCm 7.10
For RDNA 4 (GFX1200 / GFX1201) ROCm 7.10
For other AMD GPU, check more from AMD repo: https://repo.amd.com/rocm/whl/
Beta Was this translation helpful? Give feedback.
All reactions