Instructions to use dboshardy/ddim-butterflies-128 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dboshardy/ddim-butterflies-128 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dboshardy/ddim-butterflies-128", 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 scheduler/scheduler_config.json from dboshardy/ddim-butterflies-128: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/dboshardy/ddim-butterflies-128/resolve/2d3ce2d19b2808e4df537c3c1b9b81effd47c157/scheduler/scheduler_config.json
- Command line
-
hf download hf://dboshardy/ddim-butterflies-128@2d3ce2d19b2808e4df537c3c1b9b81effd47c157/scheduler/scheduler_config.json
-
curl -L -o scheduler_config.json https://huggingface.co/dboshardy/ddim-butterflies-128/resolve/2d3ce2d19b2808e4df537c3c1b9b81effd47c157/scheduler/scheduler_config.json
277 Bytes
| { | |
| "_class_name": "DDIMScheduler", | |
| "_diffusers_version": "0.2.3", | |
| "beta_end": 0.02, | |
| "beta_schedule": "linear", | |
| "beta_start": 0.0001, | |
| "clip_sample": true, | |
| "num_train_timesteps": 1000, | |
| "set_alpha_to_one": true, | |
| "timestep_values": null, | |
| "trained_betas": null | |
| } | |