AI stuff
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
* [libvirt](./linux/libvirt.md)
|
* [libvirt](./linux/libvirt.md)
|
||||||
* [OneDrive](./linux/onedrive.md)
|
* [OneDrive](./linux/onedrive.md)
|
||||||
* [Shell commands](./linux/shell_commands.md)
|
* [Shell commands](./linux/shell_commands.md)
|
||||||
|
* [Stability matrix on Arch with AMDGPU](./linux/stability_matrix.md)
|
||||||
* [udev](./linux/udev.md)
|
* [udev](./linux/udev.md)
|
||||||
* [Mail server](./mailserver/README.md)
|
* [Mail server](./mailserver/README.md)
|
||||||
* [Sieve](./mailserver/sieve.md)
|
* [Sieve](./mailserver/sieve.md)
|
||||||
|
|||||||
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