Files
Brandon Thomas 0daf83dba9 mirror repo (WIP)
Need to remove secrets before entire repo can be made public.
2025-09-18 22:45:56 -04:00
..
2025-09-18 22:45:56 -04:00
2025-09-18 22:45:56 -04:00
2025-09-18 22:45:56 -04:00

candle-wuerstchen: Efficient Pretraining of Text-to-Image Models

anthropomorphic cat dressed as a fire fighter

The wuerstchen example is a port of the diffusers implementation for Würstchen v2. The candle implementation reproduces the same structure/files for models and pipelines. Useful resources:

Getting the weights

The weights are automatically downloaded for you from the HuggingFace Hub on the first run. There are various command line flags to use local files instead, run with --help to learn about them.

Running some example.

cargo run --example wuerstchen --release --features cuda,cudnn -- \
  --prompt "Anthropomorphic cat dressed as a fire fighter"

The final image is named sd_final.png by default.