docs: add binding (#189)

This commit is contained in:
Cyberhan123 2024-03-03 13:27:07 +08:00 committed by GitHub
parent 1ce9470f27
commit 583cc5bba2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,6 +60,9 @@ Inference of [Stable Diffusion](https://github.com/CompVis/stable-diffusion) in
## Usage
For most users, you can download the built executable program from the latest [release](https://github.com/leejet/stable-diffusion.cpp/releases/latest).
If the built product does not meet your requirements, you can choose to build it manually.
### Get the Code
```
@ -319,6 +322,13 @@ docker run -v /path/to/models:/models -v /path/to/output/:/output sd [args...]
| **Memory** (txt2img - 512 x 512) | ~2.8G | ~2.3G | ~2.1G | ~2.0G | ~2.0G | ~2.0G | ~2.0G |
| **Memory** (txt2img - 512 x 512) *with Flash Attention* | ~2.4G | ~1.9G | ~1.6G | ~1.5G | ~1.5G | ~1.5G | ~1.5G |
## Bindings
These projects wrap `stable-diffusion.cpp` for easier use in other languages/frameworks.
* Golang: [seasonjs/stable-diffusion](https://github.com/seasonjs/stable-diffusion)
* C#: [DarthAffe/StableDiffusion.NET](https://github.com/DarthAffe/StableDiffusion.NET)
## Contributors
Thank you to all the people who have already contributed to stable-diffusion.cpp!