Repository navigation
feat(local-ai): update RTX Spark 48GB recipe (b11320, Q4_K_S, MTP n=2) - #1595
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
@clawsweeper please review. |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
Codex review: needs real behavior proof before merge. Reviewed October 5, 2026, 3:01 PM ET / 19:01 UTC (Revision 23). ClawSweeper reviewWhat this changesUpdates Windows Local AI to llama.cpp b11320 and the RTX Spark 48GB Q4_K_S recipe with speculative decoding depth 2, while preserving installed retired models through onboarding and Repair. Merge readiness⛔ Blocked before merge - 3 items remain This PR remains useful: current main still offers the previous runtime and Spark recipe. No blocking source defect was found. The latest evidence resolves the ARM64 fresh-install and failed-transition concerns, but the collaborator’s final-head x64 proof gate remains open. Priority: P2 Review scores
Verification
How this fits togetherLocal AI setup uses detected NVIDIA hardware to select, verify, and install a pinned runtime and model. Existing installation receipts feed onboarding and Repair, and the resulting local server supplies inference to the Gateway and chat. flowchart TD
A[NVIDIA hardware facts] --> C[Recipe selection]
B[Existing installation receipt] --> D[Installed model eligibility]
C --> E[Setup or Repair]
D --> E
E --> F[Verified runtime and model]
F --> G[Local inference server]
G --> H[Gateway and chat]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep receipt-aware recovery separate from fresh recommendations, with both Windows architectures demonstrably installing the new runtime and retaining usable existing installations. Do we have a high-confidence way to reproduce the issue? Not applicable as a new recipe offering; real ARM64 hardware output demonstrates the changed selection, installation, Repair, and inference paths. Is this the best way to solve the issue? Yes. Updating the existing pinned catalogs and adding receipt-specific eligibility preserves the fresh-selection contract without introducing a competing setup path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7127c16d537c. LabelsLabel changes: No label 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 (22 earlier review cycles; latest 8 shown)
|
fcaf024 to
0525726
Compare
Hardware validationBoth runs are a clean flow on a wiped machine — uninstall, purge RTX Spark N1X, 48GB SKU (arm64) — the recipe this series changesThe response line carries the proof: Live worker argv on that host: RTX 5090 (x64) — generic dGPU path, unchanged by this series
|
0525726 to
32e839b
Compare
|
Thanks — the published-install finding is correct and I had the premise wrong. Addressed at P1 / P1 — retain The commit that removed them has been dropped from the series. Both the P2 — repository root discovery. Fixed, and the finding is right about the mechanism: in a linked worktree On the VCLibs minimum. The floor comes from openclaw-windows-packaging#145 rather than from this series, but it is checkable: scanning the import strings of the pinned b11320 binaries on real hardware, On the earlier "no installed base" rationale. That was my error. I reasoned from "unlaunched product" without checking the releases list, and the published alpha contradicts it. The compatibility surface is real and the entries stay. |
|
Dropped the VCLibs commit from the series, which removes one of the merge-risk items rather than arguing it. It should not have been here. It came from openclaw-windows-packaging#145, which I applied on the understanding that it fixed the The commit also carried a rationale I never reproduced ("llama-server.exe then fails to start inside the packaged session" on a high floor). That was inherited from the upstream PR and stated as established; it was not. Lowering the minimum is a real compatibility widening, but it belongs to the packaging repo and wants its own on-device proof: it converts a visible install-time dependency failure into an invisible load-time one, which is the failure shape this series exists to remove. The manifest is back at Series is now six commits: three recipe changes and three install-reliability fixes, all demonstrated on hardware. |
32e839b to
9e643be
Compare
9e643be to
f0862eb
Compare
f0862eb to
a0a2be7
Compare
Published-install compatibility: launch path verified on hardware
This closes the P1 raised in the last review. Rather than synthesise a manifest, "runtimeId": "b11026-cuda13-x64",
"engineVersion": "b11026",
"modelCatalogId": "qwen3.8-27b-mtp-ud-q4-k-m",
"contextLength": 196608with the model on disk at I then built this branch as
The strongest single piece of evidence is that the branch build served real
The non-Spark path is unchanged on the same box: "Your NVIDIA GeForce RTX 5090 New regression test
What I did not verifyOnboarding's observation path for a retained install — this is the defect noted The in-product runtime transition b11026 → b11320 was not observed Test counts at
|
| Suite | Failed | Passed | Skipped | Total |
|---|---|---|---|---|
OpenClaw.Shared.Tests |
0 | 4231 | 33 | 4264 |
OpenClaw.Connection.Tests |
3 | 1496 | 1 | 1500 |
OpenClaw.SetupEngine.Tests |
3 | 2206 | 1 | 2210 |
OpenClaw.Tray.Tests |
0 | 3862 | 0 | 3862 |
.\build.ps1 -Msix Dev exited 0. The 6 failures are pre-existing and live in
files this series never touches, confirmed with git diff --name-only.
The PR description has been rewritten to the repository template with proof pool
declarations and the full validation detail.
ba9b5e0 to
00d3e73
Compare
00d3e73 to
b57027f
Compare
Scope reduced to the recipe set, and rebased onto current
|
| Commit | |
|---|---|
13294415 |
build(local-ai): bump the managed runtime pin to b11320 |
ff90ee78 |
feat(local-ai): move the RTX Spark 48GB recipe to UD-Q4_K_S |
b57027f6 |
feat(local-ai): align the offered Qwen3.6-35B recipe with MTP n=2 |
The three Local AI reliability fixes that were previously here have been
dropped. Rebasing onto current main showed that area has been reworked
upstream, and keeping them would have put this PR in the middle of that work:
- Inspection no longer launches
llama-server --versionat all, so the probe
budget those commits added is dead code on top ofmain. ServerImplementationLibraryNameand the per-file digest manifests landed
upstream, which supersedes the missing-implementation-library check.
Rebase conflicts are resolved. One consequence worth calling out: the new
inspection fails closed when a variant has no file manifest, so moving the pin to
b11320 required generating a manifest for it — 27 x64 and 14 arm64 entries,
produced from the release archives themselves using the same file selection the
repository already applies to b11026. The retired b11026 variants now carry their
own manifest too, so an installation recorded against the previous pin still
inspects cleanly instead of being reported as unverifiable.
The CUDA runtime archives are byte-identical to those already pinned at b11026
(same sizes, same digests), which is an independent check that the generation
procedure matches the existing entries.
On the two findings from the last review
"Validate installed runtimes against their recorded pin" — resolved, though
not by me. ValidateVersionOutput no longer exists on main; inspection now
takes the LlamaRuntimeVariant as a parameter, which is exactly the receipt-aware
shape the finding asked for. What remained was that retired variants carried no
file manifest, so they would fail the new inspection — that is fixed here.
"Keep the installed Spark model eligible for onboarding" — not changed, and I
would like a maintainer's view before touching it. The suggested fix is for
LocalInferenceSelector to fall back to FindInstalled when an explicitly
requested model id is no longer offered. I implemented that, and it breaks
Evaluate_Removed16GiBModelIdIsUnknown, which asserts the opposite: that a
retired id passed as an explicit request reports UnknownModel. That test
predates this PR and encodes the same treatment for the already-retired
qwen3.5-9b-mtp-q4-k-m, which sits in the installed-only catalog exactly as
...-iq4-xs now does.
So the behaviour the finding describes is the repository's existing, deliberate
treatment of retired models rather than something this PR introduces. Changing it
would be a product decision affecting every retired model, which seems out of
scope here. I have reverted my attempt and left the invariant intact.
|
@clawsweeper re-review |
|
Retained IQ4_XS onboarding on current head ( This run completed a real WSL Gateway setup on the host (app-owned Exact UI automation values read from the live window: The retired model is resolved and named by the current-head onboarding surface. Under the previous fresh-selection path that ID returns The receipt was untouched throughout: |
|
Recipe selection measured directly on RTX Spark 48GB hardware at current head ( This runs the shipped Points worth noting against this PR's intent:
Headroom is 28.97 GB required against 48.72 GB visible. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Retained IQ4_XS install observed through the tray's Local AI surface on current head ( This is after the real WSL Gateway setup completed on the host, so the Hub reaches Automation values read from the live page:
Startup for this session recorded the same, with the session resolving to the retained model: Receipt was unchanged across the run: model |
|
Repair proof on current head ( This covers the two remaining "Before merge" items: Repair completion on a retained retired-catalog install, and receipt recovery after a failed Repair. 1. Repair completes and keeps the installed modelStarting point was the retired
The pipeline went from Live inference through the repaired router: This exercises the installed-receipt path from d312ced. The model is retired from the active catalog, so Repair can only resolve it because 2. The receipt survives a failed RepairRepair was then failed deliberately, by holding the recovery gateway distro down for the duration of the run. It failed late, at step 18 of 19 in The receipt after that failure was byte identical to the receipt before it: The install also stayed usable after the failure. Inference through the same endpoint returned Final stateEngine |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Scoped maintainer triage verdictNEEDS_HUMAN_TEST. Take confidence: 75%. Recommendation confidence: 96%. Reviewed head: Basis and remaining gatesNo blocking source defect was established. Retired-model lookup is separated from fresh selection and tied to installed-receipt evidence. Credit the current-head ARM64 Spark upgrade/repair/inference report, including the later repair update. Earlier x64/fresh-install proof is stale-head, not nonexistent; establish exact immutable equivalence or rerun on the final head. A failed repair after a successful b11026-to-b11320 upgrade does not prove rollback of a failed upgrade transition. Final-head Windows full closeout and affected fresh/runtime/receipt proof remain gates. To reach 90%+ take confidencejoelagnel: preserve reported current-head Spark repair/inference; attach final-head Windows Floor and fresh-install/x64 runtime proof or precise immutable equivalence. Failed repair after successful upgrade is not failed-transition rollback proof. Connection/Setup + GPU/ARM64/Installer/UI. Here, Floor means final-head Quoted execution results are author/maintainer receipts reviewed during the scoped triage, not tests rerun by this posting session. Missing or stale-head proof is not a pass. A dedicated child session is preparing a read-only revalidation/closeout plan; no implementation, destructive execution, CI rerun or merge is authorized by this verdict. |
Failed upgrade-transition rollback proof (final head
|
| Field | Baseline | After failed transition |
|---|---|---|
| model | qwen3.6-35b-a3b-mtp-ud-iq4-xs |
unchanged |
| runtime | b11026-cuda13-arm64 |
b11026-cuda13-arm64, not advanced |
installedAtUtc |
2026-10-05T11:54:40.566638+00:00 |
unchanged |
| GGUF | 18,209,036,576 bytes, mtime 2026-10-03T00:32:52.4941420Z |
unchanged, no re-download |
engines/b11320 |
absent | present but empty, 0 entries |
engines/b11026 |
46 entries | 46 entries |
The install stayed usable: the app restarted the runtime on b11026 and served a completion
(finish_reason=stop, 169 tokens).
One precision note so this is not read as more than it is. state.json is not
byte-identical across this run (sha B872F817... to 5AFFCC48...). The only field that moves
is endpoint, which carries an ephemeral loopback port rebound on every router start
(:59474 to :57357 to :63519). The claim is that model, runtime, installedAtUtc and the
weights are preserved, not that the receipt is byte-identical. The earlier late-failure case
was byte-identical; this one structurally cannot be.
Final-head Floor
Fresh worktree at 5f2eee47, real restore and build first:
.\build.ps1exit 0OpenClaw.Shared.Tests4233 passed, 0 failed, 33 skippedOpenClaw.Tray.Tests3890 passed, 0 failed, 0 skippedOpenClaw.SetupEngine.Tests2280 passed, 0 failed, 1 skipped- Targeted onboarding suite 73 passed, 0 failed
Total 10,476 passed, 0 failed.
Fresh install at final head
Clean ARM64 install selected Q4_K_S (21.4 GB) on b11320, reached terminal state
Verified model: llamacpp/qwen3.6-35b-a3b-mtp-ud-q4-k-s, inference finish_reason=stop,
194 tokens.
Landing base
Rechecked: upstream main advanced 4 commits across 8 files, with no overlap against the 17
files in this PR. Head unchanged at 5f2eee47.
|
@clawsweeper rereview |
|
🦞👀 Re-review progress:
|






Related: #1571
What Problem This Solves
NVIDIA published a revised RTX Spark recipe set on 2026-09-30. The 48GB SKU recipe changed quantization and speculative-decoding depth, and the new set requires a newer llama.cpp build than the one currently pinned.
User Impact
RTX Spark 48GB users are offered the recipe NVIDIA validated for that SKU: Qwen3.6-35B-A3B
UD-Q4_K_Swith MTP n=2 on llama.cpp b11320.No user action is required. Non-Spark machines are unaffected. Existing installations keep their recorded runtime and model without re-downloading either artifact, and retained
UD-IQ4_XSreceipts continue to offer Start and use, Use, or Repair during onboarding.Implementation
UD-IQ4_XStoUD-Q4_K_S, retaining the previous model as a retired entry for existing receipts.The previously shipped b11026 runtime remains in the retired catalog with its own file manifest so existing receipts continue to inspect and launch correctly.
Evidence
Artifact sizes and digests were verified by downloading each archive and recomputing SHA-256. The CUDA runtime archives are byte-identical to those already pinned at b11026, so their entries are unchanged.
The b11320 per-file manifests were generated from the release archives: 27 x64 files and 14 arm64 files, matching the file-selection policy already used for b11026.
Change Type
Scope
winnodeRequired proof pools
windows-wsl-dgx-blackwell: the recipe is selected from NVIDIA GPU detection and ends in fixed-prompt inference.windows-clean-installer-upgrade: the runtime pin moves, so installations recorded against b11026 must remain usable.windows-11-arm64: the pin ships x64 and arm64 artifacts and manifests.Validation
5f2eee47:XamlCompiler.exe.5f2eee47: fast validation, Core and CLI, Tray/setup/integration, UI/functional/accessibility, Proof-pool contracts, Setup/connect E2E, Revocation recovery E2E, Network recovery E2E, and CI Gate.Real Behavior Proof
f7d17c12,19e0f9a3, anda3eb7425.Observation_RetainedSparkReceiptPreservesOnboardingActionsconstructs an installed IQ4_XS receipt and verifies the productionSetupLocalAiHost.ObserveAsyncpath returns Start and use, Use, and Repair for stopped, healthy, and failed runtimes.InstalledRetiredSpark48GbModel_RemainsEligibleWithoutRestoringFreshSelectionverifies the retired receipt is eligible while the same ID remainsUnknownModelfor fresh selection.Preflight_RetainedSparkReceiptUsesInstalledModelCatalogDuringRepaircarries the exact receipt-proven model through Repair preflight, while the paired no-receipt test keeps the retired ID unavailable for fresh setup.76ab8399on the Dell and completed Local AI setup to create a real b11026 receipt.Add-AppxPackage -ForceApplicationShutdown, restarted cold, and sent a chat message.f879af8a), then installed this head over it withAdd-AppxPackage -ForceApplicationShutdownand without purging Local AI state.OpenClawGateway-Dev, loopback only, Tailscale off), leaving the retained b11026 plus IQ4_XS installation in place, then opened onboarding.CudaHostHardwareProbeandLocalInferenceSelectorfromOpenClaw.Shareddirectly against the RTX Spark 48GB adapter at this head, so SKU routing is observed rather than inferred from catalog tests.qwen3.6-35b-a3b-mtp-ud-q4-k-s, displayed asQwen3.6 35B-A3B (UD-Q4_K_S).2026.9.5.11):state.jsonSHA-256 unchanged, model file unchanged at 18,209,036,576 bytes with mtime2026-10-02T17:32:52,installedAtUtcunchanged, andb11026still the only runtime on disk. The app resolved that retained receipt and launched the router from it:/v1/modelsreportedqwen3.6-35b-a3b-mtp-ud-iq4-xs, and a fixed prompt returned a complete answer (finish_reason: stop, 135 tokens in 2s). The running worker kept the recorded recipe,--spec-type draft-mtp --spec-draft-n-max 2 --ctx-size 98304onengines\llama-server\b11026\win-arm64\llama-server.exe.LocalAiDescriptionread... NVIDIA RTX Spark N1X (6144-core Blackwell RTX GPU) - Qwen3.6 35B-A3B (UD-IQ4_XS)withLocalAiActionText=Repair Local AI. Screenshot and exact automation values are in the follow-up comment. The receipt was unchanged throughout the run.IsRtxSpark=True,HasCompleteFacts=True,GpuVisibleMemoryBytes=48719466496,CudaMajorVersion=13.Select()returnedqwen3.6-35b-a3b-mtp-ud-q4-k-son profilectx-98304-f16withorigin=Defaultand the plan bound to that adapter's stable ID, andEvaluate()reportedCanInstall=Trueat 28,971,620,640 bytes required against 48,719,466,496 detected. The reading sits below the 48-to-64 geometric midpoint (55.43e9), so the unit classifies as the 48GB SKU and takes the pinned recipe rather than a largest-that-fits profile. Full output is in the follow-up comment.qwen3.6-35b-a3b-mtp-ud-iq4-xswithinstalledAtUtcunchanged, and the 18.2 GB GGUF kept its byte count (18209036576) and mtime (2026-10-03T00:32:52.4941420Z), so it was reused rather than downloaded again. The pipeline moved fromInstalling llama-serverdirectly toStarting llama-server router, the completion screen reportedVerified model: llamacpp/qwen3.6-35b-a3b-mtp-ud-iq4-xs, and the repaired router answered a fixed prompt (finish_reason: stop, 217 tokens). This is the installed-receipt path, whereSelectedModelIdequal toInstalledReceiptModelIdauthorizesEvaluateInstalledfor a model no longer in the active catalog.b11026-cuda13-arm64tob11320-cuda13-arm64, downloadingllama-b11320-bin-win-cuda-13.4-arm64.zipand then serving inference on b11320 while the model was preserved.configure-local-ai-gateway(step 18 of 19, afterPersistLocalAiManifest,StartLocalAiRuntime,VerifyLocalAiInferenceandVerifyLocalAiGpuLoad). Thestate.jsonSHA-256 was byte identical before and after the failure (4A2933FA...FFC2D), model id,installedAtUtc, GGUF bytes and mtime were all unchanged, and the install stayed usable with inference returningfinish_reason: stop.Security Impact
NoNoYesNoNoCompatibility and Migration
YesNoNoReview Conversations
🤖 Generated with Claude Code