[ECCV2020 Oral] Learning Lane Graph Representations for Motion Forecasting.
Key parameters and specifications
Key parameters and specifications
Parameter
Value
Language
Jupyter Notebook
Category
Model Development
Subcategory
Architecture
Keywords
Diffusion, Text-to-image
Stars
553
Forks
34
Contributors
5
Created date
2023-05-24
Updated date
2026-10-07
Stars in 1 day
0
Stars in 7 days
0
Rank
17,157
Previous rank
16,942
Rank change
-215
7-day stars rank
15,937
Previous 7-day stars rank
15,945
7-day stars rank change
8
Total stars rank
17,896
Previous total stars rank
17,871
Total stars rank change
-25
Country
Germany
README summary
Würstchen (ICLR 2024, oral) What is this? Würstchen is a new framework for training text-conditional models by moving the computationally expensive text-conditional stage into a highly compressed latent space. Common approaches make use of a single stage compression, while Würstchen introduces another Stage that introduces even more compression. In total we have Stage A & B that are responsible for compressing images and Stage C that learns the text-conditional part in the low dimensional latent
space. With that Würstchen achieves a 42x compression factor, while still reconstructing images faithfully. This enables training of Stage C to be fast and computationally cheap. Use Würstchen You can use the model simply through the notebooks here. The Stage B notebook only for reconstruction and the Stage C notebook is for the text-conditional generation. You can also try the text-to-image generation on Google Colab. Using in 🧨 diffusers Würstchen is fully integrated into the
library. Here's how to use it: Refer to the official documentation to learn more. Train your own Würstchen Training Würstchen is considerably faster and cheaper than other text-to-image as it trains in a much smaller latent space of 12x12. We provide training scripts for both Stage B and Stage C. 000| 512x512 | | Würstchen v2 | Hugging Face | 1B (Stage C) + 600M (Stage B) + 19M (Stage A) | CLIP-bigG-Text | 918. 000| 1024x1024 | Acknowledgment Special thanks to
Stability AI for providing compute for our research. Citation If you use our approach in your research or were inspired by it, we would be thrilled if you cite our paper:
Frequently asked questions
How many stars and forks are recorded?
dome272/Wuerstchen has 553 stars and 34 forks.
What is the repository rank?
dome272/Wuerstchen is ranked 17,157.
What language and category are recorded?
dome272/Wuerstchen has 553 stars, uses Jupyter Notebook and belongs to Model Development.
Which repository is closest in rank?
dome272/Wuerstchen is compared with facebookresearch/SymbolicMathematics, ranked 17,158 with 553 stars.
README
Würstchen (ICLR 2024, oral)
What is this?
Würstchen is a new framework for training text-conditional models by moving the computationally expensive text-conditional stage into a highly compressed latent space. Common approaches make use of a single stage compression, while Würstchen introduces another Stage that introduces even more compression. In total we have Stage A & B that are responsible for compressing images and Stage C that learns the text-conditional part in the low dimensional latent space. With that Würstchen achieves a 42x compression factor, while still reconstructing images faithfully. This enables training of Stage C to be fast and computationally cheap. We refer to the paper for details.
Use Würstchen
You can use the model simply through the notebooks here. The Stage B notebook only for reconstruction and the Stage C notebook is for the text-conditional generation. You can also try the text-to-image generation on Google Colab.
Using in 🧨 diffusers
Würstchen is fully integrated into the diffusers library. Here's how to use it:
# pip install -U transformers accelerate diffusers
import torch
from diffusers import AutoPipelineForText2Image
from diffusers.pipelines.wuerstchen import DEFAULT_STAGE_C_TIMESTEPS
pipe = AutoPipelineForText2Image.from_pretrained("warp-ai/wuerstchen", torch_dtype=torch.float16).to("cuda")
caption = "Anthropomorphic cat dressed as a fire fighter"
images = pipe(
caption,
width=1024,
height=1536,
prior_timesteps=DEFAULT_STAGE_C_TIMESTEPS,
prior_guidance_scale=4.0,
num_images_per_prompt=2,
).images
Training Würstchen is considerably faster and cheaper than other text-to-image as it trains in a much smaller latent space of 12x12.
We provide training scripts for both Stage B and Stage C.
Special thanks to Stability AI for providing compute for our research.
Citation
If you use our approach in your research or were inspired by it, we would be thrilled if you cite our paper:
@inproceedings{
pernias2024wrstchen,
title={W\"urstchen: An Efficient Architecture for Large-Scale Text-to-Image Diffusion Models},
author={Pablo Pernias and Dominic Rampas and Mats Leon Richter and Christopher Pal and Marc Aubreville},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=gU58d5QeGv}
}