mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 17:24:32 +02:00
Updated AMD ROCm (markdown)
+34
-3
@@ -1,9 +1,10 @@
|
||||
# AMD ROCm
|
||||
|
||||
## ROCm on Ubuntu
|
||||
## ROCm on Linux
|
||||
|
||||
### Install Guide for Ubuntu 24.04
|
||||
|
||||
Install ROCm:
|
||||
```
|
||||
sudo apt update
|
||||
wget https://repo.radeon.com/amdgpu-install/6.3.2/ubuntu/noble/amdgpu-install_6.3.60302-1_all.deb
|
||||
@@ -12,7 +13,7 @@ sudo amdgpu-install --usecase=rocm
|
||||
sudo usermod -a -G render,video $LOGNAME
|
||||
```
|
||||
|
||||
Installing git:
|
||||
Install git:
|
||||
```shell
|
||||
sudo apt install git
|
||||
```
|
||||
@@ -21,6 +22,36 @@ sudo apt install git
|
||||
|
||||
Simply change the wget line from "noble" to "jammy" if using Ubuntu 22.04.
|
||||
|
||||
|
||||
### Install Guide for Arch Linux
|
||||
|
||||
Install ROCm and git:
|
||||
```shell
|
||||
sudo pacman -S rocm-hip-runtime git
|
||||
```
|
||||
|
||||
Install Python 3.12 (or anything between 3.10 and 3.12):
|
||||
```shell
|
||||
sudo pacman -S base-devel python-pip python-virtualenv
|
||||
git clone https://aur.archlinux.org/python312.git
|
||||
cd python312
|
||||
makepkg -si
|
||||
cd ..
|
||||
export PYTHON=python3.12
|
||||
|
||||
# remove the package builder residuals:
|
||||
# rm -rf python312
|
||||
```
|
||||
|
||||
Install ROCm SDK:
|
||||
> [!NOTE]
|
||||
> ROCm SDK is optional. Only required for building flash atten or similar custom kernels.
|
||||
> ROCm SDK uses 26 GB of disk space.
|
||||
```shell
|
||||
sudo pacman -S rocm-hip-sdk
|
||||
```
|
||||
|
||||
|
||||
### Running SD.Next with ROCm on Linux
|
||||
|
||||
Open the terminal in a folder you want to install SD.Next and install SD.Next from Github with this command:
|
||||
@@ -42,7 +73,7 @@ Then run SD.Next with this command:
|
||||
> It will install the necessary libraries at the first run so it will take a while depending on your internet.
|
||||
|
||||
|
||||
## Running SD.Next and ROCm with Docker
|
||||
## Running SD.Next with Docker
|
||||
Checkout the [Docker wiki](https://github.com/vladmandic/sdnext/wiki/Docker) if you want to build a custom Docker image.
|
||||
|
||||
> [!NOTE]
|
||||
|
||||
Reference in New Issue
Block a user