Repository navigation
chore(local-ai): bump llama.cpp runtime to b10655 - #1252
Conversation
Bumps the pinned llama-server release from b10488 to b10655 (ggml-org/llama.cpp commit cb300598d) and updates the pinned SHA-256 hashes and sizes for both the x64 and arm64 CUDA runtime binaries. The cudart dependency archives are unchanged between releases, so their hashes stay the same. Motivated by issue openclaw#1242: on RTX Spark N1X (Blackwell, sm_121), b10488 crashes with a fatal CUDA error (cudaErrorSharedObjectInitFailed) in the flash-attention kernel's shared-memory setup during model warm-up, which surfaces as an HTTP 500 from verify-local-ai-inference during setup. Manually reproducing against b10655 with the same flags and model shows the crash is gone; loading completes and inference succeeds end-to-end (verified at --ctx-size 8192; at the full --ctx-size 262144 used in the original failing run, loading now gets further before failing on an unrelated CUDA OOM allocating the speculative/MTP draft buffers, worth its own follow-up). Also fixes LlamaRuntimeInstaller.ValidateVersionOutput, which hardcoded the literal "build 10488" string instead of deriving it from LlamaRuntimeCatalog.ReleaseTag -- left as-is, this bump would have made every install permanently fail capability verification. Co-Authored-By: Claude Sonnet 5 <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
LGTM. @karkarl could we merge this? |
|
Codex review: needs real behavior proof before merge. Reviewed August 27, 2026, 6:54 PM ET / 22:54 UTC. ClawSweeper reviewWhat this changesThe PR updates the integrity-pinned Windows llama.cpp CUDA runtime from b10488 to b10655 and derives runtime version inspection from the catalog tag. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked until real behavior proof is added - 6 items remain Keep open. The prior P1 upgrade blocker remains: changing the catalog recipe makes existing b10488 Local AI installs fail reuse and launch validation, while the follow-up test commit only updates a current-recipe fixture. The PR also still lacks attached, redacted current-head runtime proof. Priority: P1 Review scores
Verification
How this fits togetherLocal AI setup downloads a catalog-pinned llama-server archive, records its receipt in an installation manifest, then starts it to expose a local inference endpoint. The catalog therefore controls fresh installs and whether existing Local AI installations can be reused or launched. flowchart LR
A[Local AI setup] --> B[Runtime catalog]
B --> C[Download pinned archives]
C --> D[Installation manifest]
D --> E[Reconcile existing install]
D --> F[Start llama-server]
E --> G[Local inference endpoint]
F --> G[Local inference endpoint]
Decision needed
Why: The current behavior requires destructive uninstall and potentially discards a large managed model, while automatic replacement, model reuse, and an explicit in-product update each have different storage and recovery expectations. Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Adopt a maintainer-approved non-destructive Local AI update flow that installs and verifies b10655, updates the manifest atomically, preserves validated model data where safe, and proves both fresh installation and b10488 upgrade startup. Do we have a high-confidence way to reproduce the issue? Yes, from source: an existing manifest with EngineVersion and RuntimeId for b10488 deterministically fails the new catalog-recipe checks during setup and router launch. This review did not execute the hardware-specific CUDA crash. Is this the best way to solve the issue? No: updating the pin alone is not the safest complete fix because it strands installed b10488 receipts. A non-destructive, explicitly selected upgrade policy with fresh-install and upgrade proof is needed. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6f60d3399ab9. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Co-authored-by: Copilot App <[email protected]> Copilot-Session: b3afd332-87dd-45cb-8841-9eeb6a8b0e6a
Summary
Bumps the pinned llama-server runtime from
b10488tob10655(ggml-org/llama.cppcommitcb300598d) and updates the pinned SHA-256 hashes/sizes for the x64 and arm64 CUDA runtime binaries. Thecudartdependency archives are byte-identical between the two releases, so their hashes are unchanged.Motivation
Closes/addresses #1242: on the RTX Spark N1X (Blackwell, sm_121),
b10488crashes with a fatal CUDA error (cudaErrorSharedObjectInitFailed) inside the flash-attention kernel's shared-memory setup during model warm-up. This surfaces during setup asverify-local-ai-inferencefailing with HTTP 500.I reproduced the crash manually by running
llama-server.exedirectly with the same flags/model as the failing setup run, against both b10488 (crashes, confirming the report) and b10655 (does not crash — loading completes and a real chat-completion round-trips successfully). Full details and logs are in the issue and its comment thread.Note: at the full
--ctx-size 262144used in the original failing run, b10655 now gets further in loading but hits an unrelated CUDA OOM allocating the speculative/MTP draft buffers — plausibly related to the GPU-capacity/DXGI-shared-memory misdetection already being addressed elsewhere in this repo (ba487943,05994b93). That's a separate follow-up, not blocking this bump — it's an improvement either way, and worth re-checking against whatever context size the app's own capacity planner actually selects on this hardware.Changes
LlamaRuntimeCatalog:ReleaseTag→b10655,ReleaseCommitSha→cb300598d5f90189cb69d2702f4930aaf99d32a2, runtime ids, artifact filenames/sizes/hashes for both x64 (CUDA 13.3) and arm64 (CUDA 13.4) variants.LlamaRuntimeInstaller.ValidateVersionOutput: was checking for the hardcoded literal"build 10488"instead of deriving it fromLlamaRuntimeCatalog.ReleaseTag. Left as-is, this bump would have made every install permanently fail capability verification (the installed binary reportsbuild 10655, which would never match the hardcoded check). Now derives the expected string from the catalog constant so future bumps don't hit the same trap.Testing
dotnet buildonOpenClaw.SetupEngine(which pulls inOpenClaw.Shared/OpenClaw.Connection): clean, 0 warnings/errors.dotnet test tests/OpenClaw.Shared.Tests(LocalInferenceQualificationTests): 21/21 passed.dotnet test tests/OpenClaw.SetupEngine.Tests(full suite): 998/998 passed.ggml-org/llama.cppb10655 release assets (downloaded fresh, hashed locally, cross-checked sizes against the GitHub release API).llama-server.exe+ this model end-to-end (outside the app) and confirmed a successful/v1/chat/completionsresponse.🤖 Generated with Claude Code