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:
- baf05d14b4bb20a17538964d1304932632e68ba2b5e6e7088f011135a255de03
- Size of remote file:
- 2.65 MB
- SHA256:
- 4ec0b7c9252141cfb34245a3ac938f05b5f55cd0c65a91d4c04bf311adf092dc
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.