Instructions to use PeggyWang/stable-diffusion-2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use PeggyWang/stable-diffusion-2-base with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("PeggyWang/stable-diffusion-2-base", 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:
- cd33e95af3e82cf0e0b069396ad82281c4f56aa9b5854b2ceec7ac86115ad050
- Size of remote file:
- 5.21 GB
- SHA256:
- d635794c1fedfdfa261e065370bea59c651fc9bfa65dc6d67ad29e11869a1824
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.