Diffusers
English
stable-diffusion
stable-diffusion-diffusers
inpainting
art
artistic
anime
absolute-realism
Instructions to use diffusers/tools with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use diffusers/tools with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("diffusers/tools", 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 mass_fp16_branch_pr.sh from diffusers/tools: direct link, hf CLI and curl.
- Browser
- Download file 153 Bytes
-
https://huggingface.co/diffusers/tools/resolve/f985b1c5c5231b4b244cac97ce02db3a7e7952dd/mass_fp16_branch_pr.sh
- Command line
-
hf download hf://diffusers/tools@f985b1c5c5231b4b244cac97ce02db3a7e7952dd/mass_fp16_branch_pr.sh
-
curl -L -o mass_fp16_branch_pr.sh https://huggingface.co/diffusers/tools/resolve/f985b1c5c5231b4b244cac97ce02db3a7e7952dd/mass_fp16_branch_pr.sh
153 Bytes
| while read p; do | |
| echo "-------------------------------" | |
| echo "Open PR for $p" | |
| python open_pr_version.py $p | |
| done <all_branches.txt | |