Instructions to use aompong/diffusion-butterfly-pipeline with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use aompong/diffusion-butterfly-pipeline with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("aompong/diffusion-butterfly-pipeline", 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 diffusion_pytorch_model.bin from aompong/diffusion-butterfly-pipeline: direct link, hf CLI and curl.
- Browser
- Download file 74.3 MB
-
https://huggingface.co/aompong/diffusion-butterfly-pipeline/resolve/main/diffusion_pytorch_model.bin
- Command line
-
hf download hf://aompong/diffusion-butterfly-pipeline/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/aompong/diffusion-butterfly-pipeline/resolve/main/diffusion_pytorch_model.bin
74.3 MB
- Xet hash:
- 91eb296c4819d8ad75e1187224d0077200b356bb8afe171419e9a4ebe73f96d0
- Size of remote file:
- 74.3 MB
- SHA256:
- 5914da438089b502f76383458a12e688bbd06c30c4919ad90e55f64333d78e9a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.