Instructions to use mit-han-lab/dc-ae-f32c32-sana-1.0-diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mit-han-lab/dc-ae-f32c32-sana-1.0-diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mit-han-lab/dc-ae-f32c32-sana-1.0-diffusers", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
License
#2
by ostris - opened
I was going to see if we could get clarification on the licenses for the model weights for all of the dc-ae weights. Preferably something permissive like MIT or Apache 2.0 if possible.