mirror of
https://github.com/lemonade-sdk/stable-diffusion.cpp.git
synced 2026-11-22 00:55:10 -10:00
master-593-7f65f2a
* ci: add macOS arm64 (Metal) build for stable-diffusion.cpp
Adds a macos-arm64-cmake job covering [macos-14, macos-latest] that builds
leejet/stable-diffusion.cpp with Metal enabled and produces a release-ready
sd-*-bin-Darwin-macOS-<ver>-arm64.zip artifact, mirroring the existing Linux
job's naming convention. Wired into the release job so macOS arm64 binaries
are attached alongside Linux/Windows on scheduled and manual releases.
* ci(macos): bake @loader_path rpath so dylib loads next to binary
Without this, sd-cli ships with the GitHub runner's absolute build path
hardcoded in its rpath and fails at runtime with 'Library not loaded:
@rpath/libstable-diffusion.dylib'. Mirrors llama.cpp's release.yml flags.
* ci(macos): use stable artifact filename without OS version
Drop the dynamic Darwin-macOS-{sw_vers}-arm64 suffix in favor of a stable
sd-{branch}-{hash}-bin-Darwin-arm64.zip name (with -latest variant for
macos-latest). The previous naming embedded the runner image's macOS
point release (e.g. 14.8.5, 15.7.4), which churns silently as GitHub
patches the image and would break downstream consumers (Lemonade C++)
that download by exact filename. Matches the fixed-name pattern already
used by the Windows builds.
* ci: grant contents:write so the release job can publish artifacts
Without this, the workflow's GITHUB_TOKEN defaults to read-only on forks
and the 'Create release' / 'Upload release' steps fail with HTTP 403
'Resource not accessible by integration'. Same fix the Linux/Windows
release flow needs to function on Geramy's fork; safe on upstream where
the org-default token already has write access (this just makes it
explicit and forks-portable).
* ci(macos): name artifact …Darwin-arm64-metal.zip to align with backend ID
Lemonade's recipe matrix is adopting a 'metal' backend identifier for
macOS arm64 (mirroring the existing llamacpp/metal pattern). Renaming
the artifact's suffix to match keeps Lemonade C++'s download URL
construction trivial (filename = sd-{ver}-bin-Darwin-arm64-metal.zip)
and signals to consumers that this build has Metal acceleration enabled
(GGML_METAL=ON GGML_METAL_USE_BF16=ON GGML_METAL_EMBED_LIBRARY=ON).
Lemonade Stable diffusion fork
This repo is a "Github actions only" fork of stable diffusion that is built with more ROCm releases than upstream stable diffusion supports.
These are built for the purpose of lemonade use, but they can be utilized by any project. Releases just need to be used with matching AMD ROCm SDK releases.
Cadence
The builds are triggered nightly, or can optionally be triggered on demand as well.
Description
Diffusion model(SD,Flux,Wan,Qwen Image,Z-Image,...) inference in pure C/C++
171 MiB
0 Stars
1 Watchers
0 Forks
Releases
1
master-1106-b115a63
Latest