mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-28 19:16:33 +00:00
The CUDA and Vulkan zips of a release hold the same file names built differently: stable-diffusion.dll has the CUDA code only in the CUDA zip, so unpacking one zip over the other leaves a mixture of two builds. A new step of the release job assembles a third package from the zips of the same run: the CUDA zip, the CUDA runtime zip and ggml-vulkan.dll from the Vulkan zip, in one folder with a LEGGIMI.txt. The backends are separate modules loaded side by side, so nothing else of the Vulkan zip is needed. scripts/package_windows_cuda_vulkan.sh stops, and the release with it, when a zip is missing or there are two of a kind, when the CUDA and Vulkan zips come from different commits, when two zips hold a file with the same name, when a required file is missing from the package, or when the file count of the result does not match the inputs. It warns when ggml-base.dll or ggml.dll have a different size in the two zips, which means two different ggml builds. The release notes list the new file first and tell people not to unpack the Vulkan zip over the CUDA one. Run on the three zips of master-1025-2ab1ed6: 26 files, 878 MiB, every file has the size and CRC-32 of its source file. The step itself runs only in the release job (push to master or a manual run with create_release), so a pull request does not exercise it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EhZzDBkuuMp1jBf4WtEySC |
||
|---|---|---|
| .. | ||
| build.yml | ||
| close-inactive-issues.yml | ||
| close-organization-fork-prs.yml | ||
| release-portable.yml | ||
| stale-prs.yml | ||