--- base_model: stabilityai/stable-diffusion-2-1 license: openrail++ model_creator: stabilityai model_name: stable-diffusion-2-1 quantized_by: Second State Inc. tags: - stable-diffusion - text-to-image ---

# stable-diffusion-2-1-GGUF ## Original Model [stabilityai/stable-diffusion-2-1](https://huggingface.co/stabilityai/stable-diffusion-2-1) ## Run with `sd-api-server` Go to the [sd-api-server](https://github.com/LlamaEdge/sd-api-server/blob/main/README.md) repository for more information. ## Quantized GGUF Models Using formats of different precisions will yield results of varying quality. | f32 | f16 |q8_0 |q5_0 |q5_1 |q4_0 |q4_1 | | ---- |---- |---- |---- |---- |---- |---- | | ![](https://github.com/leejet/stable-diffusion.cpp/blob/master/assets/f32.png?raw=true) |![](https://github.com/leejet/stable-diffusion.cpp/blob/master/assets/f16.png?raw=true) |![](https://github.com/leejet/stable-diffusion.cpp/blob/master/assets/q8_0.png?raw=true) |![](https://github.com/leejet/stable-diffusion.cpp/blob/master/assets/q5_0.png?raw=true) |![](https://github.com/leejet/stable-diffusion.cpp/blob/master/assets/q5_1.png?raw=true) |![](https://github.com/leejet/stable-diffusion.cpp/blob/master/assets/q4_0.png?raw=true) |![](https://github.com/leejet/stable-diffusion.cpp/blob/master/assets/q4_1.png?raw=true) | | Name | Quant method | Bits | Size | Use case | | ---- | ---- | ---- | ---- | ----- | | [v2-1_768-nonema-pruned-Q4_0.gguf](https://huggingface.co/second-state/stable-diffusion-2-1-GGUF/blob/main/v2-1_768-nonema-pruned-Q4_0.gguf) | Q4_0 | 2 | 1.70 GB | | | [v2-1_768-nonema-pruned-Q4_1.gguf](https://huggingface.co/second-state/stable-diffusion-2-1-GGUF/blob/main/v2-1_768-nonema-pruned-Q4_1.gguf) | Q4_1 | 3 | 1.74 GB | | | [v2-1_768-nonema-pruned-Q5_0.gguf](https://huggingface.co/second-state/stable-diffusion-2-1-GGUF/blob/main/v2-1_768-nonema-pruned-Q5_0.gguf) | Q5_0 | 3 | 1.78 GB | | | [v2-1_768-nonema-pruned-Q5_1.gguf](https://huggingface.co/second-state/stable-diffusion-2-1-GGUF/blob/main/v2-1_768-nonema-pruned-Q5_1.gguf) | Q5_1 | 3 | 1.82 GB | | | [v2-1_768-nonema-pruned-Q8_0.gguf](https://huggingface.co/second-state/stable-diffusion-2-1-GGUF/blob/main/v2-1_768-nonema-pruned-Q8_0.gguf) | Q8_0 | 4 | 2.01 GB | | | [v2-1_768-nonema-pruned-f16.gguf](https://huggingface.co/second-state/stable-diffusion-2-1-GGUF/blob/main/v2-1_768-nonema-pruned-f16.gguf) | f16 | 4 | 2.61 GB | | | [v2-1_768-nonema-pruned-f32.gguf](https://huggingface.co/second-state/stable-diffusion-2-1-GGUF/blob/main/v2-1_768-nonema-pruned-f32.gguf) | f32 | 4 | 5.21 GB | |