This commit is contained in:
2024-07-12 17:44:01 +02:00
parent 6110e3d50c
commit a41cf6eb0a
2 changed files with 39 additions and 0 deletions

38
linux/stability_matrix.md Normal file
View File

@@ -0,0 +1,38 @@
# Stability Matrix on ArchLinux on AMDGPU
## Install dependencies
On ArchLinux `libcrypt.so` is already version 2, so you need to install `libxcrypt-compat`.
`rocblas` is a dependency for running Stable Diffusion.
```
yay -S libxcrypt-compat rocblas
```
## Fix PyTorch installation
To use PyTorch on AMD you need to reinstall it with ROCm support.
```
./Data/Packages/Stable\ Diffusion\ WebUI/venv/bin/pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.4.2 --upgrade --force-reinstall
```
## Make amdgpu.ids reachable
```
sudo mkdir -p /opt/amdgpu/share/libdrm/
sudo ln -s /usr/share/libdrm/amdgpu.ids /opt/amdgpu/share/libdrm/amdgpu.ids
```
## Env variables in Stability Matrix
```
HSA_OVERRIDE_GFX_VERSION = 10.3.0
```
## Additional start options
```
--medvram
--precision full --no-half
```