Instructions to use rhymes-ai/Allegro with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rhymes-ai/Allegro with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rhymes-ai/Allegro", 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_index.json` and update modeling configs (#2)
Verified signature- add model_index.json; update configs (43d06687e1b23afacab5980e452638293b3722b0) - update (7defb981dbb797a900f485c84f483d6d21e9520a) Co-authored-by: Aryan V S <a-r-r-o-w@users.noreply.huggingface.co>e3d6332
-
Update text_encoder/config.json
8b0e3d0 -
Update vae/config.json
Verified signature0c8a5db
-
Upload AllegroPipeline
Verified signaturef24bb22 -
Update config
876138f -
Upload folder using huggingface_hub
Verified signature547b60e