I have been running Stable Diffusion in a separate partition with Ubuntu 22.04 because my OpenSUSE Tumbleweed installation does not support the ROCm kernels out of the box. I have seen some sporadic attempts on the web from folks looking to get something running on their rolling release distros, like the Arch Linux community.
Just wanna know if anyone else around here has tried something that works with their favourite rolling-release distros?
I run automatic webui on Nixos with podman since I don’t yet know how to set it up with flakes and python dependancy managment is pretty finicky. Default kernel out of the box. Nixos isn’t technically a rolling release, but it is very up to date similar to tumbleweed. Recently got animatediff working which is pretty neat.
Edit: I used Debian:sid as the base image if that helps.
Oh yeah. I like Nix. I have nixpkgs running on Tumbleweed too. But yeah, the base OS needs to be stable to be compatible with ROCm stuff, so that’s why I have Ubuntu installed in a separate partition.
ROCm is userspace isn’t it though? AMDGPU is the kernel driver. My container host doesn’t have any ROCm pkgs installed. Everything is in the container with default kernel setup. I’m sure tumbleweeds kernel is up to date to be able to run it, I just don’t know their runtime pkgs needed.
I may be at a loss as to how everything fits together. I was trying to get SD running for months on TW before I gave up. Then just booted Ubuntu and it worked. So I always assumed it was something kernel related since upstream only supports the non-rolling distros.
What I need is probably an up-to-date write-up that is distro specific to TW. Meanwhile, I will probably try to compile ROCm and follow the suggestion in https://slrpnk.net/comment/2780338 and try to get rocm-opencl-runtime working.