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
Add torch2_benchmark.ipynb (#2)
Browse files- Add torch2_benchmark.ipynb (bcfb280c9508ca2e25846a8d5eac82b864222221)
- Update notebook (e7599eefb02a4a4b9ca6d7a0c7aa742b24e21441)
- torch2_benchmark.ipynb +0 -0
torch2_benchmark.ipynb
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|