Instructions to use CompVis/stable-diffusion-v1-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use CompVis/stable-diffusion-v1-1 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-1", 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
-
Fix deprecation warning by changing `CLIPFeatureExtractor` to `CLIPImageProcessor`.
Hey CompVis 👋, Your model repository seems to contain logic to load a feature extractor that is deprecated, which you should notice by seeing the warning: ``` transformers/models/clip/feature_extraction_clip.py:28: FutureWarning: The class CLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please use CLIPImageProcessor instead. warnings.warn( ``` when running `pipe = DiffusionPipeline.from_pretrained(CompVis/stable-diffusion-v1-1)`.This PR makes sure that the warning does not show anymore by replacing `CLIPFeatureExtractor` with `CLIPImageProcessor`. This will certainly not change or break your checkpoint, but onlymake sure that everything is up to date. Best, the 🧨 Diffusers team.6a3c48f
-
Update README.md
bebf07d -
Update README.md
739635a
-
Update README.md
8828c1a
-
Update scheduler/scheduler_config.json
6d547cb
-
Update scheduler/scheduler_config.json
bf4d86c
-
Update license metadata to link to actual `creativeml-openrail-m` license (#3)
- Update license metadata to link to actual `creativeml-openrail-m` license (4d46e451078a59716f20bd25a4c777f0c1b4f1c6)ab49ca0
-
Update README.md
e2b3f22 -
Update README.md
d026838
-
Changing gated access wording. Can't preview when I'm not gated, so I hope it's ok. (#1)
- Changing gated access wording. Can't preview when I'm not gated, so I hope it's ok. (b3f649486799e959fbfcd45d2a6e2badd6ad4bdc) Co-authored-by: Margaret Mitchell <meg@users.noreply.huggingface.co>806784a -
Update README.md
3b4d7c7 -
Update README.md
7eaa7d0 -
Update README.md
8640d38
-
Update README.md
b2e8107 -
Update README.md
2d6f1cd -
Update README.md
0ec5e09 -
Update README.md
47cced5 -
Update README.md
86c0e3f -
Update README.md
ec97e12 -
Update README.md
b14b93a -
Update README.md
4ea94bf -
Update README.md
c71cdb2 -
Update README.md
03f4f17 -
Update README.md
6539942 -
Upload v1-variants-scores.jpg
e36e180
-
Update README.md
3b0814a -
Create README.md
85cd29a
-
add weights
fcd1910 -
initial commit
cc27973