axodox-machinelearning
unpaint
axodox-machinelearning | unpaint | |
---|---|---|
8 | 6 | |
594 | 260 | |
- | - | |
8.0 | 8.2 | |
about 1 month ago | about 1 month ago | |
C++ | C++ | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
axodox-machinelearning
-
And now Stable Diffusion runs on the Xbox Series X and S!
A few days ago I published my open-source fully C++ implementation of Stable Diffusion. While most people liked it, some were questioning why is it useful, if we already have Python which can do so many things. So now I bring you a practical example:
- C++ Implementation of StableDiffusion
- Stable diffusion in pure C++, no python.
-
Unpaint: a compact, fully C++ implementation of Stable Diffusion with no dependency on python
And since I am a nice guy, I have decided to create an open source library (see the link for technical details) from it, so anybody can use it - and well hopefully enhance it further so we all benefit. I release this with the MIT license, so you can take and use it as you see fit in your own projects.
-
We really need an Automatic1111 Gimp extension
Someone just dropped a full C++ implementation of Stable Diffusion and published it as an open-source library under the MIT license. (https://github.com/axodox/axodox-machinelearning)
unpaint
-
I ported Stable Diffusion onto Xbox Series X and S.
Here are the details: Running Unpaint on the Xbox Series consoles · axodox/unpaint Wiki (github.com)
-
Unpaint: a compact, fully C++ implementation of Stable Diffusion with no dependency on python
I also started to build an app of my own on top of it called Unpaint (which you can download and try following the link), targeting Windows and (for now) DirectML. The app provides the basic Stable Diffusion pipelines - it can do txt2img, img2img and inpainting, it also implements some advanced prompting features (attention, scheduling) and the safety checker. It is lightweight and starts up quickly, and it is just ~2.5GB with a model, so you can easily put it on your fastest drive. Performance wise with single images is on par for me with CUDA and Automatic1111 with a 3080 Ti, but it seems to use more VRAM at higher batch counts, however this is a good start in my opinion. It also has an integrated model manager powered by Hugging Face - though for now I restricted it to avoid vandalism, however you can still convert existing models and install them offline (I will make a guide soon). And as you can see on the above images: it also has a simple but nice user interface.
-
Looking for a "censored" or "SFW" 1.5 model
The source code is on GitHub (here: axodox/native-diffusion (github.com)), there is also an installer in releases, if you want to try it.
-
Nvidia: "2x performance improvement for Stable Diffusion coming in tomorrow's Game Ready Driver"
I made a C++ test project here: Release Olive Test · axodox/native-diffusion (github.com)
-
Stable Diffusion XUI for Nvidia and AMD GPU
Well, I am working on a port of StableDiffusion which uses C++ only, no python, no other dependencies and crap. I have txt2img, img2img and inpainting fully working now.
What are some alternatives?
openvino-ai-plugins-gimp - GIMP AI plugins with OpenVINO Backend
Olive - Olive is an easy-to-use hardware-aware model optimization tool that composes industry-leading techniques across model compression, optimization, and compilation.
stable-gimpfusion - A Gimp plugin that brings StableDiffusion functionality through Automatic1111's API
a1111-sd-webui-locon - A extension for loading LyCORIS model in sd-webui
onnx - Open standard for machine learning interoperability
stable-diffusion-webui-amdgpu - Stable Diffusion web UI
StableDiffusionUI - Stable Diffusion UI: Diffusers (CUDA/ONNX)
azurelinux - Linux OS for Azure 1P services and edge appliances
SDAtom-WebUi-us - Queue system for AUTOMATIC1111's webui
llama.cpp - LLM inference in C/C++
Forget-Me-Not - Forget-Me-Not: Learning to Forget in Text-to-Image Diffusion Models, 2023