mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
Updated AMD ROCm (markdown)
+31
@@ -37,6 +37,37 @@ sudo apt install git python3 python3-dev python3-venv python3-pip
|
||||
|
||||
Simply change the wget line from "noble" to "jammy" if using Ubuntu 22.04.
|
||||
|
||||
### Install Guide for openSUSE Tumbleweed
|
||||
|
||||
Install prerequisites:
|
||||
```shell
|
||||
sudo zypper in python312-devel python312-virtualenv python312-pip patterns-devel-base-devel_basis
|
||||
```
|
||||
|
||||
Add the [ROCm repository](https://build.opensuse.org/project/show/science:GPU:ROCm) (not official, but maintained by AMD employees):
|
||||
```shell
|
||||
sudo zypper ar obs://science:GPU:ROCm/openSUSE_Factory ROCm
|
||||
sudo zypper ref # Answer "ultimately trust"
|
||||
```
|
||||
|
||||
Install the relevant packages (there is no pattern so you must install them all manually):
|
||||
```shell
|
||||
sudo zypper in rocm-runtime \
|
||||
miopen rccl rocblas amdsmi \
|
||||
hipblaslt hiprand hipcub \
|
||||
hipsolver hipfft rocm-cmake \
|
||||
rocm-compilersupport \
|
||||
rocm-llvm-filesystem \
|
||||
rocm-clang-runtime-devel \
|
||||
hipcub-devel rocm-hip-devel \
|
||||
libhipfft0-devel libhipsolver0-devel \
|
||||
libhipsparse1-devel rocthrust-devel \
|
||||
librocfft0 rocm-core rocrand rocsolver
|
||||
```
|
||||
|
||||
This procedure should also work for Leap based distributions and Slowroll (change the relevant lines for the distribution, check the repository page for details), but they haven't been tested.
|
||||
|
||||
**NOTE**: This installs also the build dependencies for flash-attention.
|
||||
|
||||
### Install Guide for Arch Linux
|
||||
|
||||
|
||||
Reference in New Issue
Block a user