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
Download gallery.gif from rhymes-ai/Allegro: direct link, hf CLI and curl.
- Browser
- Download file 26.5 MB
-
https://huggingface.co/rhymes-ai/Allegro/resolve/main/gallery.gif
- Command line
-
hf download hf://rhymes-ai/Allegro/gallery.gif
-
curl -L -o gallery.gif https://huggingface.co/rhymes-ai/Allegro/resolve/main/gallery.gif
26.5 MB
- Xet hash:
- 1a1402cc71c91867e04cf7b2e102f48065c6cdc47edde5e6f7a7560d2500cc8f
- Size of remote file:
- 26.5 MB
- SHA256:
- 21ad9c2cf06108f0882104cafcf45c8aa65e73862588af5732cf3d37d211cbc5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.