AI stuff
This commit is contained in:
38
linux/stability_matrix.md
Normal file
38
linux/stability_matrix.md
Normal 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
|
||||
```
|
||||
Reference in New Issue
Block a user