Instructions to use biali/stable-diffusion-2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use biali/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("biali/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
Download text_encoder/pytorch_model.fp16.bin from biali/stable-diffusion-2-base: direct link, hf CLI and curl.
- Browser
- Download file 681 MB
-
https://huggingface.co/biali/stable-diffusion-2-base/resolve/main/text_encoder/pytorch_model.fp16.bin
- Command line
-
hf download hf://biali/stable-diffusion-2-base/text_encoder/pytorch_model.fp16.bin
-
curl -L -o pytorch_model.fp16.bin https://huggingface.co/biali/stable-diffusion-2-base/resolve/main/text_encoder/pytorch_model.fp16.bin
681 MB
- Xet hash:
- 124172ca3093056ad6560820b9a188ab9c1152ffcfb0b99e17ed908358034239
- Size of remote file:
- 681 MB
- SHA256:
- 7bb11b1da63986aaaaefb5ef2100d34109c024ac640cacd9ed697150c1c57f01
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.