whatmodel.sh / image / Stable Diffusion v1.2
Stable Diffusion v1.2
↗ share
+ contribute
Stable Diffusion v1.2 is an open-weights image model from CompVis, released August 2022. Its published size is 0.86B parameters. Licence: creativeml-openrail-m.
Catalogue identity notes
CompVis/stable-diffusion-v1-2 checkpoint; 860M UNet per the CompVis README.
Score within the LMArena text-to-image comparison set only.
$ how it compares
The image models ranked either side of Stable Diffusion v1.2, out of 197 with a score, then more from CompVis.
| # | model | score | where | ||
|---|---|---|---|---|---|
| 187 | 27±4 | local | |||
| 188 | 26±3 | local | |||
| 189 | 26±3 | local | |||
| 190 | 26±11 | comparison only | |||
| 191 | 26±2 | local | |||
| more from CompVis | |||||
| 106 | 48±15 | local | |||
| 186 | 27±2 | local | |||
$ what it's good at
text to image▃▅▅▃▄▄█▃▁▂▁▁ #125 of 126 * · 97% of its score · 2 tests
Trails CogView2, Stable Diffusion v1.5 here, though they rank lower overall.
| test | result | vs the others in its run | counts |
|---|---|---|---|
| GenEval | 44.0% ✎ | ▅█···▅▃▃▃··▃ beats 4/10 | 49% |
| EvalMuse-40K model ranking (FGA-BLIP2 overall alignment) | 2.25 / 5 ✎ | █▄·▄██▄▄█▄▄▄ beats 0/14 | 48% |
$ where to run it
Other ways to run it
version
- Run it as published · needs ~2.6 GB, NVIDIA only · from huggingface.co/CompVis (official)
uv run --with diffusers --with transformers --with accelerate --with torch python -c "import torch; from diffusers import StableDiffusionPipeline; p=StableDiffusionPipeline.from_pretrained('CompVis/stable-diffusion-v1-2', torch_dtype=torch.float16).to('cuda'); p('a cat holding a sign').images[0].save('out.png')"
Official weights and documentation: huggingface.co/CompVis ↗
$ how the score was worked out · GenEval authors' results: djg… 49%, EvalMuse-40K: A Reliable and… 48%
Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works
| source | results | share of the score |
|---|---|---|
| 1 | 49% | |
| 1 | 48% | |
| prior · pull toward the middle | 3% | |
| weighted average | = 25.8 |
$ improve this page
Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.
data updated · sources and licences · json