SwarmUI-ready container with flash_attn, sageattention 2 and 3. For Blackwell GPUs.
10K+
This repo builds a SwarmUI-ready container with:
It is built on top of the nvidia PyTorch images nvcr.io/nvidia/pytorch.
The image is available on DockerHub, so all you need to do is have the SwarmUI repo cloned locally.
Replace /path/to/SwarmUI with the path you've cloned SwarmUI at locally and run one of the following:
docker run --gpus all -it -d --shm-size=8g --restart=always --name swarmui \
-p 7801:7801 \
-v /path/to/SwarmUI:/workspace \
-v swarm_pip:/usr/local/lib/python3.12/dist-packages \
jtreminio/swarmui:26.01-py3
Then navigate to http://localhost:7801/.
docker run --gpus all -it -d --shm-size=8g --restart=always --name swarmui \
-p 7801:7801 \
-v /path/to/SwarmUI:/workspace \
-v swarm_pip:/usr/local/lib/python3.12/dist-packages \
-v /path/to/local/output_directory:/workspace/Output \
-v /path/to/local/wildcard_directory:/workspace/Data/Wildcards \
jtreminio/swarmui:26.01-py3
Then navigate to http://localhost:7801/.
See all available tags at https://hub.docker.com/r/jtreminio/swarmui.
If you would like to build the image for yourself, simply run:
# compiles sageattention, torchaudio, etc
./step-1.sh
# builds the Docker image for reuse
./step-2.sh
There are two steps because docker build does not have a --gpus all option, so you cannot compile anything that requires a GPU.
Content type
Image
Digest
sha256:d5f70d08d…
Size
11.8 GB
Last updated
19 days ago
docker pull jtreminio/swarmui