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 Settings
- Draw Things
- DiffusionBee
Commit History
-
Update README.md
3857c45
-
Do not assume 8 devices in JAX (#154)
- Do not assume 8 devices in JAX (e124bbdca2dab1af0cdce19d575f8043eab9341e) Co-authored-by: Pedro Cuenca <pcuenq@users.noreply.huggingface.co>bd73f2a
-
Update gate text
f10ab74
-
Update README.md
f15bc76
-
Update license metadata to link to actual `creativeml-openrail-m` license (#61)
- Update license metadata to link to actual `creativeml-openrail-m` license (7f210fac9bbc55dcc6d63798d4ea25e5dc8289b6)7c3034b
-
Update README.md
e175af9
-
Update README.md
48a1bd8
-
Add safety module functionality to readme (#30)
- Add safety module functionality to readme (861782572d9b8f5e157edee4e3c94dd94ea687d2) Co-authored-by: Nathan Lambert <natolambert@users.noreply.huggingface.co>e9bde7f
-
Update README.md
fdd2974 -
Updating gated access wording to be more serious about license. (#12)
- Updating gated access wording to be more serious about license. (79683f10b9baf65a47e2ecc82cf474358f3275a1) Co-authored-by: Margaret Mitchell <meg@users.noreply.huggingface.co>9b8670f
-
Update README.md
a1cda71 -
Improve usage example (#11)
- Improve usage example (034ae2ed1832d2af18a5b901ef5955a983b45e13)11a3326 -
Update README.md
21b2071 -
Update README.md
48d3f1b -
Update README.md
ffa6ee9
-
Update README.md (#3)
- Update README.md (c1a1d6ed90fa47bc1291d32334cd945dcfed9760) Co-authored-by: Philip Kirkpatrick <SPK-951@users.noreply.huggingface.co>2881c08 -
Update README.md
26c6da0 -
Update README.md
0b2e68a -
Update README.md
2b64332 -
Update README.md
36ae9ff -
Update README.md
f99eae7 -
Update README.md
cf7033c -
Update README.md
f10ed29 -
Update README.md
e5cfb9a -
Update README.md
9852c31 -
Update README.md
cc66b03 -
Update README.md
acd94cc -
Update README.md
96fe19f -
Update README.md
72b584c -
Update README.md
412dbda -
Create README.md
9c24957