chore: ⬆️ Update leejet/stable-diffusion.cpp to 5b0267e941cade15bd80089d89838795d9f4baa6 - #9907
Merged
Conversation
…089d89838795d9f4baa6` Adapt the C++ wrapper to the new `generate_video()` signature: upstream now returns `bool` and writes frames/audio via out-parameters (`sd_image_t**`, `sd_audio_t**`). Also set `p->fps` on the params struct (new upstream field) and free the returned audio handle on both the success and error paths. Signed-off-by: Ettore Di Giacinto <mudler@localai.io> Assisted-by: claude-code:claude-opus-4-7
mudler
enabled auto-merge (squash)
May 20, 2026 20:52
mudler
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #9865 (which is blocked on a CI compile failure for the same SHA).
Upstream changes: https://github.com/leejet/stable-diffusion.cpp/compare/bd17f53b7386fb5f60e8587b75e73c4b2fed3426..5b0267e941cade15bd80089d89838795d9f4baa6
Summary
STABLEDIFFUSION_GGML_VERSIONto5b0267e9....gosd.cppvideo wrapper to the new upstreamgenerate_video()signature:bool(wassd_image_t*)sd_image_t**sd_audio_t**out-parameter (we free it viafree_sd_audio())p->fpsfield onsd_vid_gen_params_t(used upstream for audio sync, and we already mux at this rate).Test plan
make libgosd-fallback.sobuilds against new upstreamgo buildinbackend/go/stablediffusion-ggmlsucceeds aftermake protogen-go-cpu-stablediffusion-ggmland-gpu-vulkan-stablediffusion-ggmlon chore: ⬆️ Update leejet/stable-diffusion.cpp to5b0267e941cade15bd80089d89838795d9f4baa6#9865 with:error: cannot convert 'int*' to 'sd_image_t**')