Skip to content

Commit 317c232

Browse files
authored
Merge pull request #7842 from elizaOS/develop
Merge develop: /bsc paint-on-mount perf fix
2 parents 79b5b4b + 641788b commit 317c232

86 files changed

Lines changed: 1427 additions & 11503 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

evidence/imagegen/sd-cpp-runtime.json

Lines changed: 79 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
{
2-
"generatedAt": "2026-05-20T09:46:59Z",
2+
"atCommit": "8df74c2c3732",
3+
"generatedAt": "2026-05-20T12:03:58Z",
4+
"hostProbe": {
5+
"arch": "arm64",
6+
"cuda": "not available: no NVIDIA GPU and nvidia-smi is not installed",
7+
"gpu": "Apple M4 Max 40-core GPU",
8+
"machine": "Apple M4 Max MacBook local verification host",
9+
"platform": "darwin",
10+
"vulkan": "loader/device present via /opt/homebrew/bin/vulkaninfo and MoltenVK DRIVER_ID_MOLTENVK; sd-cpp Vulkan build and two image smokes passed locally on 2026-05-20"
11+
},
12+
"localChecks20260520": {
13+
"cuda": "not available locally; CUDA pending report remains authoritative",
14+
"sdCliVulkanBuild": "pass",
15+
"vulkan": "pass: pinned sd-cli Vulkan build generated SD 1.5 and Z-Image 64x64 one-step PNG outputs through Vulkan0/MoltenVK"
16+
},
317
"memory": {
418
"evidence": "sd-cli --help advertises --mmap, --max-vram, --offload-to-cpu, and backend assignment; no model smoke run in this step",
519
"maxVramAuto": true,
@@ -15,12 +29,13 @@
1529
"accelerators": [
1630
"auto",
1731
"cpu",
18-
"metal"
32+
"metal",
33+
"vulkan"
1934
],
2035
"available": true,
21-
"binary": "/tmp/stable-diffusion.cpp/build-metal/bin/sd-cli",
36+
"binary": "/Users/shawwalters/eliza-workspace/milady/eliza/.tmp/imagegen-vulkan/build-vulkan/bin/sd-cli",
2237
"evidence": [],
23-
"source": "local MacBook Metal build; 0_8b SD 1.5 Metal smoke refreshed 2026-05-19",
38+
"source": "aggregate local evidence: prior pinned Metal sd-cli smokes plus 2026-05-20 pinned Vulkan/MoltenVK sd-cli smokes",
2439
"supportedModels": [
2540
"imagegen-sd-1_5-q5_0",
2641
"imagegen-sdxl-turbo-q4_0",
@@ -31,11 +46,9 @@
3146
},
3247
"publishBlockingReasons": [
3348
"CUDA stable-diffusion.cpp build/probe/smoke evidence is still pending; this host cannot run CUDA",
34-
"Vulkan stable-diffusion.cpp build/probe/smoke evidence is still pending; local MoltenVK enumeration is not imagegen runtime smoke evidence",
3549
"iOS/CoreML and Android image generation smoke remain unproven",
3650
"release bundle has not pinned/uploaded signed stable-diffusion.cpp binaries for all supported platforms",
37-
"CUDA imagegen blocker report: evidence/imagegen/sd-cpp-cuda-pending.json",
38-
"Vulkan imagegen blocker report: evidence/imagegen/sd-cpp-vulkan-pending.json"
51+
"CUDA imagegen blocker report: evidence/imagegen/sd-cpp-cuda-pending.json"
3952
],
4053
"runtime": {
4154
"binaryVersion": "stable-diffusion.cpp version master-633-5b0267e, commit 5b0267e",
@@ -53,29 +66,40 @@
5366
"0_8b/sd-1.5-Q5_0.gguf": {
5467
"backends": [
5568
"cpu",
56-
"metal"
69+
"metal",
70+
"vulkan"
5771
],
72+
"metal": {
73+
"output": "evidence/imagegen/sd15-0_8b-metal-smoke.png",
74+
"outputSha256": "af0cbb621781112a228e235f4dc4e618950d41b00b359fdf5cea1a9a89916d41",
75+
"report": "evidence/imagegen/sd15-0_8b-metal-smoke.json",
76+
"status": "pass"
77+
},
5878
"outputs": [
5979
"evidence/imagegen/sd15-0_8b-cpu-smoke.png",
60-
"evidence/imagegen/sd15-0_8b-metal-smoke.png"
80+
"evidence/imagegen/sd15-0_8b-metal-smoke.png",
81+
"evidence/imagegen/sd15-0_8b-vulkan-smoke.png"
6182
],
6283
"reports": [
6384
"evidence/imagegen/sd15-0_8b-cpu-smoke.json",
64-
"evidence/imagegen/sd15-0_8b-metal-smoke.json"
85+
"evidence/imagegen/sd15-0_8b-metal-smoke.json",
86+
"evidence/imagegen/sd15-0_8b-vulkan-smoke.json"
6587
],
6688
"status": "pass",
67-
"metal": {
89+
"vulkan": {
90+
"output": "evidence/imagegen/sd15-0_8b-vulkan-smoke.png",
91+
"outputSha256": "00edcf7049409afe476931e9ebe909a431a34c0e715e8563f2e79fc12eef2924",
92+
"report": "evidence/imagegen/sd15-0_8b-vulkan-smoke.json",
6893
"status": "pass",
69-
"report": "evidence/imagegen/sd15-0_8b-metal-smoke.json",
70-
"output": "evidence/imagegen/sd15-0_8b-metal-smoke.png",
71-
"outputSha256": "af0cbb621781112a228e235f4dc4e618950d41b00b359fdf5cea1a9a89916d41"
94+
"wallSeconds": 16.72
7295
}
7396
},
7497
"9b/z-image-turbo-Q4_K_M.gguf": {
7598
"architecture": "z-image/lumina2 diffusion module",
7699
"backends": [
77100
"cpu",
78-
"metal"
101+
"metal",
102+
"vulkan"
79103
],
80104
"companions": {
81105
"llm": "bundles/9b/imagegen/text-encoders/Qwen3-4B-Instruct-2507-Q4_K_M.gguf",
@@ -91,15 +115,24 @@
91115
"outputSha256": "ac1575294804abc7d1655789a2b48ece82da29cee1537a771f5fd7778669299e",
92116
"outputs": [
93117
"evidence/imagegen/zimage-9b-cpu-split-smoke.png",
94-
"evidence/imagegen/zimage-9b-metal-split-smoke.png"
118+
"evidence/imagegen/zimage-9b-metal-split-smoke.png",
119+
"evidence/imagegen/zimage-9b-vulkan-split-smoke.png"
95120
],
96121
"report": "evidence/imagegen/zimage-9b-cpu-split-smoke.json",
97122
"reports": [
98123
"evidence/imagegen/zimage-9b-cpu-split-smoke.json",
99-
"evidence/imagegen/zimage-9b-metal-split-smoke.json"
124+
"evidence/imagegen/zimage-9b-metal-split-smoke.json",
125+
"evidence/imagegen/zimage-9b-vulkan-split-smoke.json"
100126
],
101127
"requiredInvocation": "--diffusion-model + --vae + --llm",
102128
"status": "pass",
129+
"vulkan": {
130+
"output": "evidence/imagegen/zimage-9b-vulkan-split-smoke.png",
131+
"outputSha256": "ddd68578ccb3657a514f61041f4fe4a6776c1cb21164f6aa967eb8f9d43c6061",
132+
"report": "evidence/imagegen/zimage-9b-vulkan-split-smoke.json",
133+
"status": "pass",
134+
"wallSeconds": 12.16
135+
},
103136
"wallSeconds": 6.1
104137
}
105138
},
@@ -119,14 +152,26 @@
119152
"status": "pass"
120153
},
121154
"vulkan": {
122-
"report": "evidence/imagegen/sd-cpp-vulkan-pending.json",
123-
"status": "not-run"
155+
"host": "darwin-arm64 MoltenVK Apple M4 Max",
156+
"outputs": [
157+
"evidence/imagegen/sd15-0_8b-vulkan-smoke.png",
158+
"evidence/imagegen/zimage-9b-vulkan-split-smoke.png"
159+
],
160+
"reports": [
161+
"evidence/imagegen/sd15-0_8b-vulkan-smoke.json",
162+
"evidence/imagegen/zimage-9b-vulkan-split-smoke.json"
163+
],
164+
"status": "pass"
124165
}
125166
},
126167
"status": "partial"
127168
},
128169
"status": "blocked",
129170
"testReports": {
171+
"combinedProbeEvidence20260520": {
172+
"note": "Aggregate runtime evidence keeps prior CPU/Metal smokes and adds Vulkan smokes; CUDA remains pending on separate hardware.",
173+
"status": "partial"
174+
},
130175
"cudaPending": {
131176
"path": "evidence/imagegen/sd-cpp-cuda-pending.json",
132177
"status": "pending"
@@ -136,6 +181,17 @@
136181
"path": "evidence/imagegen/sd-cpp-local-probe-2026-05-19.json",
137182
"status": "pass"
138183
},
184+
"sd15MetalSmoke20260519": {
185+
"note": "64x64 one-step Metal smoke; CUDA/Vulkan evidence remains pending.",
186+
"output": "evidence/imagegen/sd15-0_8b-metal-smoke.png",
187+
"path": "evidence/imagegen/sd15-0_8b-metal-smoke.json",
188+
"status": "pass"
189+
},
190+
"sd15VulkanSmoke20260520": {
191+
"output": "evidence/imagegen/sd15-0_8b-vulkan-smoke.png",
192+
"path": "evidence/imagegen/sd15-0_8b-vulkan-smoke.json",
193+
"status": "pass"
194+
},
139195
"sdCppProbeHarness": {
140196
"command": "bun test plugins/plugin-local-inference/__tests__/imagegen-sd-cpp-probe.test.ts",
141197
"note": "Harness validates probe/backend capability detection, split Z-Image CLI args, CPU/Vulkan backend flags, and avoids false CUDA proof from generic --rng cuda help text; it does not prove real image inference.",
@@ -158,30 +214,10 @@
158214
"path": "evidence/imagegen/zimage-9b-metal-split-smoke.json",
159215
"status": "pass"
160216
},
161-
"sd15MetalSmoke20260519": {
162-
"status": "pass",
163-
"path": "evidence/imagegen/sd15-0_8b-metal-smoke.json",
164-
"output": "evidence/imagegen/sd15-0_8b-metal-smoke.png",
165-
"note": "64x64 one-step Metal smoke; CUDA/Vulkan evidence remains pending."
217+
"zImageVulkanSplitSmoke20260520": {
218+
"output": "evidence/imagegen/zimage-9b-vulkan-split-smoke.png",
219+
"path": "evidence/imagegen/zimage-9b-vulkan-split-smoke.json",
220+
"status": "pass"
166221
}
167-
},
168-
"atCommit": "8df74c2c3732",
169-
"hostProbe": {
170-
"platform": "darwin",
171-
"arch": "arm64",
172-
"machine": "Apple M4 Max MacBook local verification host",
173-
"gpu": "Apple M4 Max 40-core GPU",
174-
"cuda": "not available: no NVIDIA GPU and nvidia-smi is not installed",
175-
"vulkan": "loader/device present via /opt/homebrew/bin/vulkaninfo and MoltenVK DRIVER_ID_MOLTENVK; this is not sd-cpp Vulkan imagegen execution evidence"
176-
},
177-
"localChecks20260520": {
178-
"sdCliInPath": "not found",
179-
"cuda": "not available locally; CUDA pending report remains authoritative",
180-
"vulkan": "vulkaninfo --summary passes through MoltenVK, but no sd-cpp Vulkan binary/smoke exists locally",
181-
"remoteEvidenceReviewed": [
182-
"evidence/imagegen/sd-cpp-runtime.json",
183-
"evidence/imagegen/sd-cpp-cuda-pending.json",
184-
"evidence/imagegen/sd-cpp-vulkan-pending.json"
185-
]
186222
}
187223
}
Lines changed: 28 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,38 @@
11
{
22
"accelerator": "vulkan",
3-
"atCommit": "8df74c2c3732",
4-
"generatedAt": "2026-05-20T09:46:59Z",
5-
"howToProduce": "Build stable-diffusion.cpp with Vulkan support on a Vulkan host, then run SD 1.5 and Z-Image one-step smokes against the published bundle assets.",
6-
"macHostLimitation": "vulkaninfo proves MoltenVK device visibility on Apple M4 Max only; it does not prove the Linux/Windows Vulkan sd-cpp runtime required by the release gate.",
7-
"publishBlockingReasons": [
8-
"vulkan accelerator missing from sd-cpp probe accelerators",
9-
"vulkan platform smoke is not-run in evidence/imagegen/sd-cpp-runtime.json",
10-
"release requires CPU, Metal, CUDA, and Vulkan imagegen runtime evidence to pass"
11-
],
12-
"reason": "Local Vulkan loader/device enumeration passes through MoltenVK, but no Vulkan-built stable-diffusion.cpp sd-cli binary is installed locally, so no sd-cpp Vulkan image smoke was run.",
13-
"requiredSmokes": [
3+
"generatedAt": "2026-05-20T12:03:58Z",
4+
"hostProbe": {
5+
"arch": "arm64",
6+
"cuda": "not available: no NVIDIA GPU and nvidia-smi is not installed",
7+
"gpu": "Apple M4 Max 40-core GPU",
8+
"machine": "Apple M4 Max MacBook local verification host",
9+
"platform": "darwin",
10+
"vulkan": "loader/device present via /opt/homebrew/bin/vulkaninfo and MoltenVK DRIVER_ID_MOLTENVK; sd-cpp Vulkan build and two image smokes passed locally on 2026-05-20"
11+
},
12+
"note": "This clears local sd-cpp Vulkan runtime smoke evidence. CUDA remains blocked on this Mac and is tracked separately in evidence/imagegen/sd-cpp-cuda-pending.json.",
13+
"runtime": {
14+
"binaryVersion": "stable-diffusion.cpp version master-633-5b0267e, commit 5b0267e",
15+
"engine": "stable-diffusion.cpp",
16+
"upstreamCommit": "5b0267e941cade15bd80089d89838795d9f4baa6",
17+
"upstreamRepo": "leejet/stable-diffusion.cpp"
18+
},
19+
"schemaVersion": 1,
20+
"smokes": [
1421
{
1522
"model": "bundles/0_8b/imagegen/sd-1.5-Q5_0.gguf",
16-
"prompt": "a small square on a white background",
17-
"size": "64x64",
18-
"steps": 1
23+
"output": "evidence/imagegen/sd15-0_8b-vulkan-smoke.png",
24+
"outputSha256": "00edcf7049409afe476931e9ebe909a431a34c0e715e8563f2e79fc12eef2924",
25+
"report": "evidence/imagegen/sd15-0_8b-vulkan-smoke.json",
26+
"status": "pass"
1927
},
2028
{
21-
"companions": [
22-
"bundles/9b/imagegen/vae/ae.safetensors",
23-
"bundles/9b/imagegen/text-encoders/Qwen3-4B-Instruct-2507-Q4_K_M.gguf"
24-
],
2529
"model": "bundles/9b/imagegen/z-image-turbo-Q4_K_M.gguf",
26-
"prompt": "a small square on a white background",
27-
"size": "64x64",
28-
"steps": 1
30+
"output": "evidence/imagegen/zimage-9b-vulkan-split-smoke.png",
31+
"outputSha256": "ddd68578ccb3657a514f61041f4fe4a6776c1cb21164f6aa967eb8f9d43c6061",
32+
"report": "evidence/imagegen/zimage-9b-vulkan-split-smoke.json",
33+
"status": "pass"
2934
}
3035
],
31-
"runtime": {
32-
"binaryVersion": "not built on this host",
33-
"engine": "stable-diffusion.cpp",
34-
"upstreamCommit": "5b0267e941cade15bd80089d89838795d9f4baa6",
35-
"upstreamRepo": "leejet/stable-diffusion.cpp"
36-
},
37-
"schemaVersion": 1,
38-
"status": "pending",
39-
"target": "linux-x64-vulkan",
40-
"hostProbe": {
41-
"platform": "darwin",
42-
"arch": "arm64",
43-
"machine": "Apple M4 Max MacBook local verification host",
44-
"gpu": "Apple M4 Max 40-core GPU",
45-
"cuda": "not available: no NVIDIA GPU and nvidia-smi is not installed",
46-
"vulkan": "loader/device present via /opt/homebrew/bin/vulkaninfo and MoltenVK DRIVER_ID_MOLTENVK; this is not sd-cpp Vulkan imagegen execution evidence"
47-
},
48-
"localProbeEvidence": {
49-
"command": "vulkaninfo --summary",
50-
"status": "pass",
51-
"deviceName": "Apple M4 Max",
52-
"driverID": "DRIVER_ID_MOLTENVK",
53-
"apiVersion": "1.4.334"
54-
},
55-
"requiredCommandEnv": {
56-
"host": "Linux or Windows x86_64 host with Vulkan ICD/device available, or a release-accepted macOS MoltenVK target if the gate is changed to accept that target",
57-
"env": [
58-
"export HF_TOKEN=<elizaos Hugging Face token>",
59-
"export SD_CPP_BIN=/absolute/path/to/vulkan-built/sd-cli"
60-
],
61-
"build": [
62-
"git clone https://github.com/leejet/stable-diffusion.cpp",
63-
"cmake -S stable-diffusion.cpp -B stable-diffusion.cpp/build-vulkan -DSD_VULKAN=ON -DSD_SERVER_BUILD_FRONTEND=OFF -DCMAKE_BUILD_TYPE=Release",
64-
"cmake --build stable-diffusion.cpp/build-vulkan --config Release -j --target sd-cli"
65-
],
66-
"probe": "SD_CPP_BIN=$SD_CPP_BIN bun plugins/plugin-local-inference/scripts/probe-sd-cpp.mjs --json",
67-
"smokes": [
68-
"$SD_CPP_BIN --model bundles/0_8b/imagegen/sd-1.5-Q5_0.gguf --prompt \"a small square on a white background\" --backend vulkan0 --width 64 --height 64 --steps 1 -o evidence/imagegen/sd15-0_8b-vulkan-smoke.png",
69-
"$SD_CPP_BIN --diffusion-model bundles/9b/imagegen/z-image-turbo-Q4_K_M.gguf --vae bundles/9b/imagegen/vae/ae.safetensors --llm bundles/9b/imagegen/text-encoders/Qwen3-4B-Instruct-2507-Q4_K_M.gguf --prompt \"a small square on a white background\" --backend vulkan0 --width 64 --height 64 --steps 1 -o evidence/imagegen/zimage-9b-vulkan-split-smoke.png"
70-
]
71-
}
36+
"status": "pass",
37+
"target": "darwin-arm64-moltenvk-local-smoke"
7238
}

0 commit comments

Comments
 (0)