Setup Stable swarm using docker on fedora
Just my notes.
curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | \
sudo tee /etc/yum.repos.d/nvidia-container-toolkit.repo
sudo yum install -y nvidia-container-toolkit
sudo nvidia-ctk runtime configure --runtime=docker
sudo systemctl restart docker
git clone https://github.com/Stability-AI/StableSwarmUI
cd StableSwarmUI
./launch-docker.sh
Access localhost:7801
and follow the instructions on screen.
After the initial setup is done, you can download the model
I did it from the stableSwarm UI: http://192.168.20.105:7801/Text2Image#Image-History-Tab,utilities_tab,Utilities-ModelDownloader-Tab
https://huggingface.co/weights/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors?download=true
References
- https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-with-yum-or-dnf
- Commit used: https://github.com/Stability-AI/StableSwarmUI/commit/6071f8f685dfdde8a8cab1ae5feb06e5865d70fc
- https://github.com/Stability-AI/StableSwarmUI
- Model: https://huggingface.co/weights/stable-diffusion-xl-base-1.0/tree/main