Instructions to use CompVis/stable-diffusion-v1-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/stable-diffusion-v1-3 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-3", 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
Commit History
-
Add `clip_sample=False` to scheduler to make model compatible with DDIM.
Hey CompVis 👋, Your model repository seems to contain a stable diffusion checkpoint. We have noticed that your scheduler config currently does not correctly work with the [DDIMScheduler](https://huggingface.co/docs/diffusers/main/en/api/schedulers#diffusers.DDIMScheduler) because `clip_sample` is not set to False and will therefore [incorrectly default to True](https://github.com/huggingface/diffusers/blob/3ce6380d3a2ec5c3e3f4f48889d380d657b151bc/src/diffusers/schedulers/scheduling_ddim.py#L127). The official stable diffusion checkpoints have `clip_sample=False` so that the scheduler config works will **all** schedulers, see: https://huggingface.co/stabilityai/stable-diffusion-2-1-base/blob/main/scheduler/scheduler_config.json#L7. We strongly recommend that you merge this PR to make sure your model works correctly with DDIM. Diffusingly, Patrick.ffbaacf
-
Update README.md
29b6ee6
-
Update scheduler/scheduler_config.json
953dad4
-
Update scheduler/scheduler_config.json
4517da2
-
Update license metadata to link to actual `creativeml-openrail-m` license (#3)
- Update license metadata to link to actual `creativeml-openrail-m` license (cc3f00a1a71b9f86ceb09cec5f4450fd51548b20)3638fe8
-
Update README.md
c0399c1 -
Updating gated access wording to be more serious about license. (#1)
- Updating gated access wording to be more serious about license. (9fe0515b4c5f96272fd0a098089f9beeafc06d6f) Co-authored-by: Margaret Mitchell <meg@users.noreply.huggingface.co>efa2e7e
-
Update README.md
6072368 -
Update README.md
78b3ae9 -
Update README.md
5ff7909
-
Update README.md
93160e7 -
Update README.md
953fb1d -
Update README.md
674ee30 -
Update README.md
cdb8b4e -
Update README.md
dfb7c27 -
Update README.md
8206928 -
Update README.md
b7eaa61 -
Update README.md
f0170bf -
Update README.md
b2b0c4e -
Upload v1-variants-scores.jpg
e3e102c
-
Update README.md
f6c1413 -
Create README.md
e72d488
-
add model
e1af5e9 -
initial commit
c4457a0