Skip to content

Commit 79b5b4b

Browse files
authored
Merge pull request #7840 from elizaOS/develop
Merge develop: BSC wallet attach + accumulated develop work
2 parents dbf38c8 + 74d23ff commit 79b5b4b

379 files changed

Lines changed: 4699 additions & 30828 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.

bun.lock

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"accelerator": "cuda",
3+
"atCommit": "8df74c2c3732",
4+
"generatedAt": "2026-05-20T09:46:59Z",
5+
"howToProduce": "Build stable-diffusion.cpp with CUDA support on an NVIDIA host, then run SD 1.5 and Z-Image one-step smokes against the published bundle assets.",
6+
"macHostLimitation": "This host can verify Apple Metal and generic MoltenVK availability; it cannot execute CUDA.",
7+
"publishBlockingReasons": [
8+
"cuda accelerator missing from sd-cpp probe accelerators",
9+
"cuda 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": "CUDA cannot be run honestly on this local darwin-arm64 Apple Silicon host: there is no NVIDIA GPU, no nvidia-smi, and no CUDA-built stable-diffusion.cpp sd-cli binary.",
13+
"requiredSmokes": [
14+
{
15+
"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
19+
},
20+
{
21+
"companions": [
22+
"bundles/9b/imagegen/vae/ae.safetensors",
23+
"bundles/9b/imagegen/text-encoders/Qwen3-4B-Instruct-2507-Q4_K_M.gguf"
24+
],
25+
"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
29+
}
30+
],
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-cuda",
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+
"requiredCommandEnv": {
49+
"host": "Linux or Windows x86_64 machine with an NVIDIA CUDA-capable GPU and drivers visible to nvidia-smi",
50+
"env": [
51+
"export HF_TOKEN=<elizaos Hugging Face token>",
52+
"export SD_CPP_BIN=/absolute/path/to/cuda-built/sd-cli"
53+
],
54+
"build": [
55+
"git clone https://github.com/leejet/stable-diffusion.cpp",
56+
"cmake -S stable-diffusion.cpp -B stable-diffusion.cpp/build-cuda -DSD_CUDA=ON -DSD_SERVER_BUILD_FRONTEND=OFF -DCMAKE_BUILD_TYPE=Release",
57+
"cmake --build stable-diffusion.cpp/build-cuda --config Release -j --target sd-cli"
58+
],
59+
"probe": "SD_CPP_BIN=$SD_CPP_BIN bun plugins/plugin-local-inference/scripts/probe-sd-cpp.mjs --json",
60+
"smokes": [
61+
"$SD_CPP_BIN --model bundles/0_8b/imagegen/sd-1.5-Q5_0.gguf --prompt \"a small square on a white background\" --width 64 --height 64 --steps 1 -o evidence/imagegen/sd15-0_8b-cuda-smoke.png",
62+
"$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\" --width 64 --height 64 --steps 1 -o evidence/imagegen/zimage-9b-cuda-split-smoke.png"
63+
]
64+
}
65+
}
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
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

Comments
 (0)