Mateusz-Dera/ROCm-AI-Installer

Installation script for an AI applications using ROCm on Linux.

50

stars

591

commits

Shell

primary language

Sep 5, 2026

updated

3d
ai
amd
amdgpu
audio
comfyui
debian
image-generation
linux
music
radeon
rdna3
rocm
tts
video
voice
voice-generation
Browse cluster: Music Audio and Synthesis Tools

README

ROCm-AI-Installer

Installation scripts for an AI applications using ROCm on Linux.

Info:

Version ROCm

Linux Podman Bash Python Node.js Gradio PyTorch

[!Important] All models and applications are tested on a GPU with 24GB of VRAM.
Some applications may not work on GPUs with less VRAM.

Test platform:

NameInfo
CPUAMD Ryzen 9 9950X3D
GPUAMD Radeon 7900XTX
RAM64GB DDR5 6600MHz
MotherboardGigabyte X870 AORUS ELITE WIFI7 (BIOS F8)
OSDebian 13.6
Kernel6.12.107+deb13-amd64

Text generation:

NameLinksAPIGUIAdditional information
SillyTavernSillyTavern/SillyTavern-80001. Basic auth enabled, defaults: user / password.
2. Change in config.yaml.
llama.cpp TurboQuantTheTom/llama-cpp-turboquant
unsloth/gemma-4-26B-A4B-it-qat-GGUF
808080801. Available as ROCm or Vulkan build.
2. TurboQuant 3-bit KV cache.
3. Model: gemma-4-26B-A4B-it-qat Q4_K_XL with its MTP
4. GGUF: user-models/
5. MTP: drafts/.
6. Models: models.ini
KoboldCPPYellowRoseCx/koboldcpp-rocm50015001
vLLM Gemma 4vllm-project/vllm
0xSero/turboquant
google/gemma-4-31B-it-qat
8002-1. TurboQuant 4-bit KV cache.
2. Model: gemma-4-31B-it-qat, quantized to W4A16 during install.
3. ~59GB download, ~50GB RAM for the conversion.

Image & video generation:

NameLinksAPIGUIAdditional information
ComfyUIComfy-Org/ComfyUI
city96/ComfyUI-GGUF
81888188Workflows templates are in the workflows folder.
Extension manager is installed by default.
ComfyUI-GGUF is installed by default.
Krea 2 Turbo + Editkrea-ai/krea-2
krea/Krea-2-Turbo
krea/krea-2-loras
conradlocke/krea2-identity-edit
lbouaraba/comfyui-krea2edit
-78601. Custom UI.
2. 4-bit NF4 quantization.
3. Turbo model (8 steps).
4. 9 official style LoRAs.
5. Custom LoRA supported.
6. Identity Edit LoRA
7. Krea 2 and the LoRAs are licensed under the Krea 2 Community License Agreement: the weights are gated, so accept it on the model page and set HuggingFace Token in Variables.
8. Commercial use only below 1,000,000USD annual revenue; outputs are AI-generated and must be disclosed as such where required.

ComfyUI Addons:

Music generation:

NameLinksGUIAdditional information
ACE-Step-1.5ace-step/ACE-Step-1.57860

Voice:

NameLinksGUIAdditional information
Sopranoekwek1/soprano
Mateusz-Dera/soprano-rocm
7860
OmniVoicek2-fsa/OmniVoice7860
Parakeetnvidia/parakeet-tdt-0.6b-v378601. Added custom simple UI.

3D generation:

NameLinksAPIGUIAdditional information
PartCrafterwgsxm/PartCrafter
Mateusz-Dera/pytorch_cluster_rocm
-78601. Added custom simple UI.
trellis.cpppwilkin/trellis.cpp
ilintar/trellis2-gguf
808178601. Added custom simple UI.
2. Available as ROCm or Vulkan build.
ARDYnv-tlabs/ardy
meta-llama/Meta-Llama-3-8B-Instruct
-2333
TripoSplatVAST-AI-Research/TripoSplat-7860
AutoRemesherhuxingyi/autoremesher--1. Automatic quad-remeshing tool.

Instalation:

1. Install Podman.

[!Note] If you are using Debian 13.6, you can use sudo apt-get update && sudo apt-get -y install podman podman-compose qemu-system (should also work on Ubuntu 26.04)

[!Note] The installer menus need whiptail. It is preinstalled on most systems; if it is missing the script says so and exits.

2. Make sure that /dev/dri and /dev/kfd are accessible.

ls /dev/dri
ls /dev/kfd

[!Important] Your distribution must have amdgpu configured.

3. Make sure that your user has permissions for the video and render groups.

sudo usermod -aG video,render $USER

[!Important] If not, you need reboot after this step.

4. Clone repository.

git clone https://github.com/Mateusz-Dera/ROCm-AI-Installer.git

5. Run installer.

./install.sh

6. Set variables

[!Important] From version 17, ROCm packages are installed per GPU architecture. The installer reads the cards from the kernel and preselects them under GFX, and the container is built with the packages for those architectures only - not for every GPU AMD ships.
Selecting more than one architecture is supported, so a machine with, say, a gfx1100 card and a gfx1036 integrated GPU can have both. Changing the selection requires recreating the container.

[!Note] Using several cards at once has not been tested. The installer can build for more than one architecture, and each application is pinned to a single card when it is installed, but everything here was only ever run on a single GPU.

7. Create a container if you are upgrading or running the script for the first time.

8. Install the applications of your choice.

[!NOTE] With more than one usable card, each application asks which one it should run on while it is being installed. The answer is written into that application's run.sh as HIP_VISIBLE_DEVICES, so different applications can use different cards - image generation on the discrete GPU, something small on the integrated one.
There is no container-wide setting for this.
To change it later, edit HIP_VISIBLE_DEVICES in the application's run.sh or reinstall the application.

9. Go to the application folder and run:

./run.sh

[!NOTE] Everything is configured to start from the host side (You don't need to enter the container).

Container:

Checking the container

To check if the container is running:

podman ps

Starting the container

If the container is not running, start it with:

podman start rocm

Accessing container bash

To enter the container's bash shell:

podman exec -it rocm bash

Removing the container

To stop and remove the container:

podman stop rocm
podman rm rocm

Or force remove (stop and remove in one command):

podman rm -f rocm

Contributors

Mateusz-Dera

590 commits

hqnicolas

1 commits

Mateusz-Dera/ROCm-AI-Installer

Installation script for an AI applications using ROCm on Linux.

50

stars

591

commits

Shell

primary language

Sep 5, 2026

updated

3d
ai
amd
amdgpu
audio
comfyui
debian
image-generation
linux
music
radeon
rdna3
rocm
tts
video
voice
voice-generation
Browse cluster: Music Audio and Synthesis Tools

README

ROCm-AI-Installer

Installation scripts for an AI applications using ROCm on Linux.

Info:

Version ROCm

Linux Podman Bash Python Node.js Gradio PyTorch

[!Important] All models and applications are tested on a GPU with 24GB of VRAM.
Some applications may not work on GPUs with less VRAM.

Test platform:

NameInfo
CPUAMD Ryzen 9 9950X3D
GPUAMD Radeon 7900XTX
RAM64GB DDR5 6600MHz
MotherboardGigabyte X870 AORUS ELITE WIFI7 (BIOS F8)
OSDebian 13.6
Kernel6.12.107+deb13-amd64

Text generation:

NameLinksAPIGUIAdditional information
SillyTavernSillyTavern/SillyTavern-80001. Basic auth enabled, defaults: user / password.
2. Change in config.yaml.
llama.cpp TurboQuantTheTom/llama-cpp-turboquant
unsloth/gemma-4-26B-A4B-it-qat-GGUF
808080801. Available as ROCm or Vulkan build.
2. TurboQuant 3-bit KV cache.
3. Model: gemma-4-26B-A4B-it-qat Q4_K_XL with its MTP
4. GGUF: user-models/
5. MTP: drafts/.
6. Models: models.ini
KoboldCPPYellowRoseCx/koboldcpp-rocm50015001
vLLM Gemma 4vllm-project/vllm
0xSero/turboquant
google/gemma-4-31B-it-qat
8002-1. TurboQuant 4-bit KV cache.
2. Model: gemma-4-31B-it-qat, quantized to W4A16 during install.
3. ~59GB download, ~50GB RAM for the conversion.

Image & video generation:

NameLinksAPIGUIAdditional information
ComfyUIComfy-Org/ComfyUI
city96/ComfyUI-GGUF
81888188Workflows templates are in the workflows folder.
Extension manager is installed by default.
ComfyUI-GGUF is installed by default.
Krea 2 Turbo + Editkrea-ai/krea-2
krea/Krea-2-Turbo
krea/krea-2-loras
conradlocke/krea2-identity-edit
lbouaraba/comfyui-krea2edit
-78601. Custom UI.
2. 4-bit NF4 quantization.
3. Turbo model (8 steps).
4. 9 official style LoRAs.
5. Custom LoRA supported.
6. Identity Edit LoRA
7. Krea 2 and the LoRAs are licensed under the Krea 2 Community License Agreement: the weights are gated, so accept it on the model page and set HuggingFace Token in Variables.
8. Commercial use only below 1,000,000USD annual revenue; outputs are AI-generated and must be disclosed as such where required.

ComfyUI Addons:

Music generation:

NameLinksGUIAdditional information
ACE-Step-1.5ace-step/ACE-Step-1.57860

Voice:

NameLinksGUIAdditional information
Sopranoekwek1/soprano
Mateusz-Dera/soprano-rocm
7860
OmniVoicek2-fsa/OmniVoice7860
Parakeetnvidia/parakeet-tdt-0.6b-v378601. Added custom simple UI.

3D generation:

NameLinksAPIGUIAdditional information
PartCrafterwgsxm/PartCrafter
Mateusz-Dera/pytorch_cluster_rocm
-78601. Added custom simple UI.
trellis.cpppwilkin/trellis.cpp
ilintar/trellis2-gguf
808178601. Added custom simple UI.
2. Available as ROCm or Vulkan build.
ARDYnv-tlabs/ardy
meta-llama/Meta-Llama-3-8B-Instruct
-2333
TripoSplatVAST-AI-Research/TripoSplat-7860
AutoRemesherhuxingyi/autoremesher--1. Automatic quad-remeshing tool.

Instalation:

1. Install Podman.

[!Note] If you are using Debian 13.6, you can use sudo apt-get update && sudo apt-get -y install podman podman-compose qemu-system (should also work on Ubuntu 26.04)

[!Note] The installer menus need whiptail. It is preinstalled on most systems; if it is missing the script says so and exits.

2. Make sure that /dev/dri and /dev/kfd are accessible.

ls /dev/dri
ls /dev/kfd

[!Important] Your distribution must have amdgpu configured.

3. Make sure that your user has permissions for the video and render groups.

sudo usermod -aG video,render $USER

[!Important] If not, you need reboot after this step.

4. Clone repository.

git clone https://github.com/Mateusz-Dera/ROCm-AI-Installer.git

5. Run installer.

./install.sh

6. Set variables

[!Important] From version 17, ROCm packages are installed per GPU architecture. The installer reads the cards from the kernel and preselects them under GFX, and the container is built with the packages for those architectures only - not for every GPU AMD ships.
Selecting more than one architecture is supported, so a machine with, say, a gfx1100 card and a gfx1036 integrated GPU can have both. Changing the selection requires recreating the container.

[!Note] Using several cards at once has not been tested. The installer can build for more than one architecture, and each application is pinned to a single card when it is installed, but everything here was only ever run on a single GPU.

7. Create a container if you are upgrading or running the script for the first time.

8. Install the applications of your choice.

[!NOTE] With more than one usable card, each application asks which one it should run on while it is being installed. The answer is written into that application's run.sh as HIP_VISIBLE_DEVICES, so different applications can use different cards - image generation on the discrete GPU, something small on the integrated one.
There is no container-wide setting for this.
To change it later, edit HIP_VISIBLE_DEVICES in the application's run.sh or reinstall the application.

9. Go to the application folder and run:

./run.sh

[!NOTE] Everything is configured to start from the host side (You don't need to enter the container).

Container:

Checking the container

To check if the container is running:

podman ps

Starting the container

If the container is not running, start it with:

podman start rocm

Accessing container bash

To enter the container's bash shell:

podman exec -it rocm bash

Removing the container

To stop and remove the container:

podman stop rocm
podman rm rocm

Or force remove (stop and remove in one command):

podman rm -f rocm

Contributors

Mateusz-Dera

590 commits

hqnicolas

1 commits

Languages

Shell

51.3%

Python

47.7%

Dockerfile

1.0%