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