Skip to content

chore: ⬆️ Update leejet/stable-diffusion.cpp to 5b0267e941cade15bd80089d89838795d9f4baa6 - #9907

Merged
mudler merged 1 commit into
masterfrom
fix/sd-cpp-bump-5b0267e9
May 20, 2026
Merged

chore: ⬆️ Update leejet/stable-diffusion.cpp to 5b0267e941cade15bd80089d89838795d9f4baa6#9907
mudler merged 1 commit into
masterfrom
fix/sd-cpp-bump-5b0267e9

Conversation

@localai-bot

Copy link
Copy Markdown
Collaborator

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

  • Bump STABLEDIFFUSION_GGML_VERSION to 5b0267e9....
  • Adapt the gosd.cpp video wrapper to the new upstream generate_video() signature:
    • returns bool (was sd_image_t*)
    • frames are now an out-parameter sd_image_t**
    • new sd_audio_t** out-parameter (we free it via free_sd_audio())
  • Set the new p->fps field on sd_vid_gen_params_t (used upstream for audio sync, and we already mux at this rate).

Test plan

…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
mudler enabled auto-merge (squash) May 20, 2026 20:52
@mudler
mudler merged commit ef6ca34 into master May 20, 2026
62 checks passed
@mudler
mudler deleted the fix/sd-cpp-bump-5b0267e9 branch May 20, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants