Sign inSign up

jtreminio/swarmui

By jtreminio

Updated 19 days ago

SwarmUI-ready container with flash_attn, sageattention 2 and 3. For Blackwell GPUs.

Image
Machine learning & AI
0

10K+

jtreminio/swarmui repository overview

swarm-container

This repo builds a SwarmUI-ready container with:

It is built on top of the nvidia PyTorch images nvcr.io/nvidia/pytorch.

Requirements

  • A Blackwell GPU
    • RTX 50-series
    • RTX Pro 6000
    • RTX Pro 5000
  • Docker or Podman

Getting Started

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:

All model paths as default

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/.

Define different model and config paths

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/.

More Tags

See all available tags at https://hub.docker.com/r/jtreminio/swarmui.

Building

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.

Tag summary

Content type

Image

Digest

sha256:d5f70d08d

Size

11.8 GB

Last updated

19 days ago

docker pull jtreminio/swarmui