Skip to content

v0.4.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 08:54
· 2 commits to main since this release
4a91d32

Prepared source: 4a91d32
Manifest SHA256: bed5598df5a62914b48a3c0652701df9819cb2405f6346c692e2494dccfeb927

Breaking (ABI)

  • sd_img_gen_params_t grew from 552 to 560 bytes (new trailing control_type, default SD_CONTROL_TYPE_NONE, set by sd_img_gen_params_init). sd_ctx_params_t (336) and sd_vid_gen_params_t (592) are unchanged. sd_dart_generate_image reads the full 560 bytes: regenerate bindings and allocate through the initializer. Probe a new symbol such as sd_control_type_name to detect 552/560 skew.

Behavior change

  • stable-diffusion.cpp now parses <image:...> markers in every prompt. On SD/Flux an unescaped <image:x> makes generation return false, and an unterminated <image: fails with a caught error; both were plain text before. Escape as \<image:.

Runtime

  • stable-diffusion.cpp 5dcfa798 (master-1104) with six retained patches; the Apple allocator now comes from upstream.

Windows prerequisite

  • The Windows DLLs need the Microsoft Visual C++ 2015-2022 x64 runtime (vc_redist.x64.exe); a clean Windows install cannot load them without it. Same as v0.3.0-6. Tracking: #50.

Known issue

  • Pre-existing NVIDIA Vulkan crash at worker join after idle: #49.