diffusion-rs
Rust bindings to https://github.com/leejet/stable-diffusion.cpp
Features Matrix
| Windows | Mac | Linux | |
|---|---|---|---|
| vulkan | ❌ | ⛓️💥 | ✅️ |
| metal | - | ✅️ | - |
| cuda | ❌ | - | ✅️ |
| rocm | ❌ | - | ⛓️💥 |
| sycl | ❌ | - | ✅️ |
✅️: Working
❌: See this cargo issue
⛓️💥 : Issues when linking libraries
Usage
use ;
let = default
.preset
.prompt
.build
.unwrap;
gen_img.unwrap;
Troubleshooting
- Something other than Windows/Linux isn't working!
- I don't have a way to test these platforms, so I can't really help you.
- If you can fix the issue, please open a PR!
Roadmap
Ensure that the underline cpp library compiles on supported platformsBuild an easy to use library with model presetsAutomatic library publishing on crates.io by gh actions- Maybe prebuilt CLI app binaries