Instructions to use yuvalkirstain/stable-diffusion-2-1-ait with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yuvalkirstain/stable-diffusion-2-1-ait with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("yuvalkirstain/stable-diffusion-2-1-ait", 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
Ctrl+K
- 2.39 kB
- 2.46 kB
- 99 MB xet
- 6.5 kB
- 113 kB xet
- 6.5 kB
- 106 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 98.6 kB xet
- 6.5 kB
- 161 kB xet
- 7.3 kB
- 87.2 kB xet
- 7.3 kB
- 87.2 kB xet
- 7.3 kB
- 87.2 kB xet
- 7.3 kB
- 87.2 kB xet
- 16.1 kB
- 2.16 kB
- 977 Bytes
- 321 kB xet
- 34 Bytes
- 31.9 kB
- 29 kB xet
- 6.5 kB
- 674 kB xet
- 6.16 kB
- 657 kB xet
- 107 kB
- 9.46 MB xet