Instructions to use openai/consistency-decoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use openai/consistency-decoder with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("openai/consistency-decoder", 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
Commit History
-
Add model card (#1)
- Update README.md (544ca04c89f842c175af47416cc787b98a2ff8ea) Co-authored-by: Sayak Paul <sayakpaul@users.noreply.huggingface.co>63b7a48 -
Update config.json
420c385 -
Update config.json
a4d5f5f -
add all
9324968 -
Create README.md
7672863 -
Duplicate from williamberman/consistency-decoder
Co-authored-by: Will Berman <williamberman@users.noreply.huggingface.co>5e6b742