|
| 1 | +{ |
| 2 | + "generatedAt": "2026-05-20T09:46:59Z", |
| 3 | + "memory": { |
| 4 | + "evidence": "sd-cli --help advertises --mmap, --max-vram, --offload-to-cpu, and backend assignment; no model smoke run in this step", |
| 5 | + "maxVramAuto": true, |
| 6 | + "mmap": true, |
| 7 | + "requiredFeaturesFromUpstreamReview": [ |
| 8 | + "mmap", |
| 9 | + "--max-vram -1", |
| 10 | + "segmented param offload" |
| 11 | + ], |
| 12 | + "segmentedOffload": true |
| 13 | + }, |
| 14 | + "probe": { |
| 15 | + "accelerators": [ |
| 16 | + "auto", |
| 17 | + "cpu", |
| 18 | + "metal" |
| 19 | + ], |
| 20 | + "available": true, |
| 21 | + "binary": "/tmp/stable-diffusion.cpp/build-metal/bin/sd-cli", |
| 22 | + "evidence": [], |
| 23 | + "source": "local MacBook Metal build; 0_8b SD 1.5 Metal smoke refreshed 2026-05-19", |
| 24 | + "supportedModels": [ |
| 25 | + "imagegen-sd-1_5-q5_0", |
| 26 | + "imagegen-sdxl-turbo-q4_0", |
| 27 | + "imagegen-z-image-turbo-q4_k_m", |
| 28 | + "imagegen-flux-1-schnell-q4_k_m" |
| 29 | + ], |
| 30 | + "version": "stable-diffusion.cpp version master-633-5b0267e, commit 5b0267e" |
| 31 | + }, |
| 32 | + "publishBlockingReasons": [ |
| 33 | + "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", |
| 35 | + "iOS/CoreML and Android image generation smoke remain unproven", |
| 36 | + "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" |
| 39 | + ], |
| 40 | + "runtime": { |
| 41 | + "binaryVersion": "stable-diffusion.cpp version master-633-5b0267e, commit 5b0267e", |
| 42 | + "engine": "stable-diffusion.cpp", |
| 43 | + "integration": "plugins/plugin-local-inference/src/services/imagegen/sd-cpp.ts", |
| 44 | + "integrationContract": "sd-cpp uses --model for monolithic SD 1.5 and --diffusion-model plus --vae/--llm for split Z-Image tiers", |
| 45 | + "localProbeReport": "evidence/imagegen/sd-cpp-local-probe-2026-05-19.json", |
| 46 | + "probeScript": "plugins/plugin-local-inference/scripts/probe-sd-cpp.mjs", |
| 47 | + "upstreamCommit": "5b0267e941cade15bd80089d89838795d9f4baa6", |
| 48 | + "upstreamRepo": "leejet/stable-diffusion.cpp" |
| 49 | + }, |
| 50 | + "schemaVersion": 1, |
| 51 | + "smoke": { |
| 52 | + "models": { |
| 53 | + "0_8b/sd-1.5-Q5_0.gguf": { |
| 54 | + "backends": [ |
| 55 | + "cpu", |
| 56 | + "metal" |
| 57 | + ], |
| 58 | + "outputs": [ |
| 59 | + "evidence/imagegen/sd15-0_8b-cpu-smoke.png", |
| 60 | + "evidence/imagegen/sd15-0_8b-metal-smoke.png" |
| 61 | + ], |
| 62 | + "reports": [ |
| 63 | + "evidence/imagegen/sd15-0_8b-cpu-smoke.json", |
| 64 | + "evidence/imagegen/sd15-0_8b-metal-smoke.json" |
| 65 | + ], |
| 66 | + "status": "pass", |
| 67 | + "metal": { |
| 68 | + "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" |
| 72 | + } |
| 73 | + }, |
| 74 | + "9b/z-image-turbo-Q4_K_M.gguf": { |
| 75 | + "architecture": "z-image/lumina2 diffusion module", |
| 76 | + "backends": [ |
| 77 | + "cpu", |
| 78 | + "metal" |
| 79 | + ], |
| 80 | + "companions": { |
| 81 | + "llm": "bundles/9b/imagegen/text-encoders/Qwen3-4B-Instruct-2507-Q4_K_M.gguf", |
| 82 | + "vae": "bundles/9b/imagegen/vae/ae.safetensors" |
| 83 | + }, |
| 84 | + "metal": { |
| 85 | + "output": "evidence/imagegen/zimage-9b-metal-split-smoke.png", |
| 86 | + "outputSha256": "4ff7c1c9829b25f550d42e95ef02a6fd7ede54e230f213abee06f76af6de53f8", |
| 87 | + "report": "evidence/imagegen/zimage-9b-metal-split-smoke.json", |
| 88 | + "status": "pass", |
| 89 | + "wallSeconds": 11.69 |
| 90 | + }, |
| 91 | + "outputSha256": "ac1575294804abc7d1655789a2b48ece82da29cee1537a771f5fd7778669299e", |
| 92 | + "outputs": [ |
| 93 | + "evidence/imagegen/zimage-9b-cpu-split-smoke.png", |
| 94 | + "evidence/imagegen/zimage-9b-metal-split-smoke.png" |
| 95 | + ], |
| 96 | + "report": "evidence/imagegen/zimage-9b-cpu-split-smoke.json", |
| 97 | + "reports": [ |
| 98 | + "evidence/imagegen/zimage-9b-cpu-split-smoke.json", |
| 99 | + "evidence/imagegen/zimage-9b-metal-split-smoke.json" |
| 100 | + ], |
| 101 | + "requiredInvocation": "--diffusion-model + --vae + --llm", |
| 102 | + "status": "pass", |
| 103 | + "wallSeconds": 6.1 |
| 104 | + } |
| 105 | + }, |
| 106 | + "platforms": { |
| 107 | + "cpu": { |
| 108 | + "output": "evidence/imagegen/sd15-0_8b-cpu-smoke.png", |
| 109 | + "report": "evidence/imagegen/sd15-0_8b-cpu-smoke.json", |
| 110 | + "status": "pass" |
| 111 | + }, |
| 112 | + "cuda": { |
| 113 | + "report": "evidence/imagegen/sd-cpp-cuda-pending.json", |
| 114 | + "status": "not-run" |
| 115 | + }, |
| 116 | + "metal": { |
| 117 | + "output": "evidence/imagegen/sd15-0_8b-metal-smoke.png", |
| 118 | + "report": "evidence/imagegen/sd15-0_8b-metal-smoke.json", |
| 119 | + "status": "pass" |
| 120 | + }, |
| 121 | + "vulkan": { |
| 122 | + "report": "evidence/imagegen/sd-cpp-vulkan-pending.json", |
| 123 | + "status": "not-run" |
| 124 | + } |
| 125 | + }, |
| 126 | + "status": "partial" |
| 127 | + }, |
| 128 | + "status": "blocked", |
| 129 | + "testReports": { |
| 130 | + "cudaPending": { |
| 131 | + "path": "evidence/imagegen/sd-cpp-cuda-pending.json", |
| 132 | + "status": "pending" |
| 133 | + }, |
| 134 | + "localMetalBuild": { |
| 135 | + "command": "cmake --build build-eliza-metal --config Release -j 4 --target sd-cli", |
| 136 | + "path": "evidence/imagegen/sd-cpp-local-probe-2026-05-19.json", |
| 137 | + "status": "pass" |
| 138 | + }, |
| 139 | + "sdCppProbeHarness": { |
| 140 | + "command": "bun test plugins/plugin-local-inference/__tests__/imagegen-sd-cpp-probe.test.ts", |
| 141 | + "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.", |
| 142 | + "path": "evidence/imagegen/sd-cpp-local-probe-2026-05-19.json", |
| 143 | + "status": "pass" |
| 144 | + }, |
| 145 | + "vulkanPending": { |
| 146 | + "path": "evidence/imagegen/sd-cpp-vulkan-pending.json", |
| 147 | + "status": "pending" |
| 148 | + }, |
| 149 | + "zImageCpuSplitSmoke": { |
| 150 | + "command": "sd-cli --diffusion-model ... --vae ... --llm ... --backend cpu --params-backend cpu --width 64 --height 64 --steps 1", |
| 151 | + "output": "evidence/imagegen/zimage-9b-cpu-split-smoke.png", |
| 152 | + "path": "evidence/imagegen/zimage-9b-cpu-split-smoke.json", |
| 153 | + "status": "pass" |
| 154 | + }, |
| 155 | + "zImageMetalSplitSmoke": { |
| 156 | + "command": "sd-cli --diffusion-model ... --vae ... --llm ... --backend gpu --params-backend cpu --max-vram 2 --width 64 --height 64 --steps 1", |
| 157 | + "output": "evidence/imagegen/zimage-9b-metal-split-smoke.png", |
| 158 | + "path": "evidence/imagegen/zimage-9b-metal-split-smoke.json", |
| 159 | + "status": "pass" |
| 160 | + }, |
| 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." |
| 166 | + } |
| 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 | + ] |
| 186 | + } |
| 187 | +} |
0 commit comments