Instructions to use learn2train/stable-diffusion-v1-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use learn2train/stable-diffusion-v1-5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("learn2train/stable-diffusion-v1-5", 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
Download blacklight.zip from learn2train/stable-diffusion-v1-5: direct link, hf CLI and curl.
- Browser
- Download file 4.77 MB
-
https://huggingface.co/learn2train/stable-diffusion-v1-5/resolve/main/blacklight.zip
- Command line
-
hf download hf://learn2train/stable-diffusion-v1-5/blacklight.zip
-
curl -L -o blacklight.zip https://huggingface.co/learn2train/stable-diffusion-v1-5/resolve/main/blacklight.zip
4.77 MB
- Xet hash:
- 5aae16a08a82e040e78c6e9ca516e9ec012114b44f8a00481bc2c359bbf2fd4d
- Size of remote file:
- 4.77 MB
- SHA256:
- c290a806a5b41434c9ea2f091ae869c0d175f4e4a0f3e1847ada9fdd93d94345
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.