Updated AMD ROCm (markdown)

Disty0
2025-02-12 14:25:45 +03:00
parent 8227c90966
commit 79fdbc5f0e
+23
@@ -16,6 +16,29 @@ sudo usermod -a -G render,video $LOGNAME
Simply change the wget line from "noble" to "jammy" if using Ubuntu 22.04.
## Docker Installation
Checkout the [Docker wiki](https://github.com/vladmandic/sdnext/wiki/Docker) if you want to build a custom Docker image.
Using Docker with a prebuilt image:
```
export SDNEXT_DOCKER_ROOT_FOLDER=~/sdnext
sudo docker run -it \
--name sdnext-rocm \
--device /dev/dri \
--device /dev/kfd \
-p 7860:7860 \
-v $SDNEXT_DOCKER_ROOT_FOLDER/app:/app \
-v $SDNEXT_DOCKER_ROOT_FOLDER/python:/mnt/python \
-v $SDNEXT_DOCKER_ROOT_FOLDER/data:/mnt/data \
-v $SDNEXT_DOCKER_ROOT_FOLDER/models:/mnt/models \
-v $SDNEXT_DOCKER_ROOT_FOLDER/huggingface:/root/.cache/huggingface \
disty0/sdnext-rocm:latest
```
> [!NOTE]
> It will install the necessary libraries at the first run so it will take a while depending on your internet.
## ROCm Windows Support
This is a guide to build rocBLAS based on the ROCm Official Documentations.