Instructions to use xiaolxl/Stable-diffusion-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use xiaolxl/Stable-diffusion-models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("xiaolxl/Stable-diffusion-models", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
- Xet hash:
- 7201a10062811a5e029c081dc3dd6b6ce1218821aad32f1458bd9b59313fc9ec
- Size of remote file:
- 151 MB
- SHA256:
- 9824af57631c85f2f9a3db3827afda98e08e7ca6eb4d2de11ad9085408293e9b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.