stable-diffusion.cpp icon indicating copy to clipboard operation
stable-diffusion.cpp copied to clipboard

Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++

Results 413 stable-diffusion.cpp issues
Sort by recently updated
recently updated
newest added

Update Upload/Download actions to v4. v3 to be deprecated on 11/30/2024 https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ test run: https://github.com/phudtran/stable-diffusion.cpp/actions/runs/9118990338

The current random generator is fixed by the designated seed number (default: 42). Although this is fine with generating a latent image, it is quite not right for ancestral sampling....

On [this build](https://github.com/leejet/stable-diffusion.cpp/releases/tag/master-760cfaa) most of the lora's i have will cause a black image as an output. I'm not entirely sure why this would be the case, but the next...

Hi, Error when compile with latest GGML. ``` /Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/stable-diffusion/model.cpp:608: error: no matching function for call to 'ggml_quantize_chunk' /Users/paulo/Developer/workspaces/cpp/ai-kit/vendor/stable-diffusion/model.cpp:608:13: error: no matching function for call to 'ggml_quantize_chunk' ggml_quantize_chunk(dst_type, (float*)src_data_f32, dst, 0,...

Currently stable-diffusion.cpp seems to have a too high RAM usage compared to https://github.com/rupeshs/fastsdcpu (written in Python) for the same result. I compared the Dreamshaper LCM model + TAESD at 5...

How to access GPU data of txt2img result? I would like to use the GPU data continuously without download to CPU.

I'm having this issue on Mac when using `sd` with Flash Attention enabled: ``` [DEBUG] ggml_extend.hpp:599 - clip compute buffer size: 9.88 MB [DEBUG] stable-diffusion.cpp:441 - computing condition graph completed,...

What I have experienced is that the inference of cpp on cpu is way too slow compared to the latest [diffusers](https://github.com/huggingface/diffusers). Especially, only the sampling in UNet takes about 30s,...

### Discussed in https://github.com/leejet/stable-diffusion.cpp/discussions/240 Originally posted by **SkutteOleg** April 26, 2024 Is Vulkan support planned? Is Vulkan support feasible? How far away is it? ![image](https://github.com/leejet/stable-diffusion.cpp/assets/45887963/97556938-4364-4bff-af4b-b30f161ca37b)