Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
Instructions to use CompVis/stable-diffusion-v1-4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/stable-diffusion-v1-4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", dtype=torch.bfloat16, device_map="cuda") prompt = "A high tech solarpunk utopia in the Amazon rainforest" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
How to Download Main?
#249
by FlagrantYeti - opened
Always feel super dumb trying to navigate pages like this and github lmao but where am I meant to go in order to download the entire sort of SD 1.4? I mean I can go folder by folder and download all the files individually and then recreate the file structure, but surely there must be a way to download the whole chungus in one go? haha
Thanks for the help!
you can do this with git-lfs in the command line, once you have git-lfs and git installed just do
"git Lfs
git clone "
and it should download it to your current directory.
It is explained in more detail in this official guide from hugging face: https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading