PR #397 — "helios: skip zero-valued kernel-node attributes the replay driver rejects"
Reviewed at head b49b3675 (2026-11-26) against base 8b177cf1, with main at c146d7be (2026-11-29). Case file: scratchpad #1–#34; nothing in this report is left over from an earlier baseline.
Key findings
- The charter names this exact change as the pattern to decline. Under "How We Work → Bring real evidence": "Bug fixes need to address the root cause; don't just swallow, skip, or retry an unexplained error (#397)." #397 is the charter's own cited example. Two further bullets bear on it: "Look for the smallest footprint in shared code, or a way to solve it without new code at all… (#404)" and "Don't silently ignore API fields… Never accept it and quietly drop it (#417)"; and "Benchmarks, tests, or feature flags don't override architectural rules (#215)" — so a test would not cure blocking points 1–2.
- The guard is not id-11 specific. It fires on any non-zero status (OOM, invalid context, sticky error) for any recorded attribute id whose payload is all-zero —
helios/src/runtime_core/mod.rshunk at PR diff:892-900(if status != 0 && value.iter().all(|word| *word == 0)). Zero is not documented as the no-op default for ids 1, 2, 4, 5, 8, 9, 10, 11, 13, 14 (heliopause/src/export/capture.rs:462). - The stated cause is unproven — and the author's own probe does not reproduce it. On GB10 / driver 580.173.02 / API 13020,
SetAttribute(11, all-zero)returns 0; every non-zero cluster dim returns 912 (CUDA_ERROR_CLUSTER_MISCONFIGURATION); controls id 2/13/14 return 0 (author comment, 2026-11-26 14:22). The field failure is status 1INVALID_VALUEon 580.178.04. So the guard would never fire on the probe host, and "no-op by construction" is unsupported by the data shown. - The same symptom already has an accepted no-code remedy. In #2, SvangenStudios (2026-10-21 19:26) and CaptKitCarson (2026-10-24 15:30) both cleared the identical
cuGraphKernelNodeSetAttribute … INVALID_VALUEon GB10 / 580.178.04 with newer CUDA user-mode forward-compat libraries (13.3/610.43.02; 595.58.03 viaLD_LIBRARY_PATHdrop-in). original-el8's triage (2026-11-05 17:26) split those reports out as "a different driver/compatibility-library control" and no issue was ever filed. That is "a way to solve it without new code at all" (#404). - Zero payload is the exporter's normal encoding, not an anomaly. The exporter records ids from a fixed list and zero-fills absent attributes:
capture.rs:462, record loop:542-570(id 11 gated onattribute_11at:558-560), encode loop:857-887(id 13 always dropped, id 11 unlessrecorded.attribute_11at:859, id 14 dropped when all-zero at:868-870), and the in-tree testretained_graph_restores_only_supported_zero_attributesat:4926-4946asserts zero payloads for several ids. Commitdcb1d7b1is the export-side precedent: fix the encoding, not the loader. - It collides with the core-compatibility rule and is resolved against the PR.
docs/design-review.md:116-123(principle 13) requires every engine version to load old cores, andAGENTS.md:182-187forbids suppressing errors;AGENTS.md:209-212forbids rescuing a violation "by adding an opt-in".docs/runtime-core-design.md:946-948says the core "does not pin a driver version or a Helios build", and there is no minimum-driver or compat-libs check anywhere inflare-cli— so nothing records that a 580 host cannot replay these cores. - No test, and the only test evidence offered is unit-only and unrebased. The 2026-11-26 comment reports
cargo check --testsclean andcargo test --lib543/547 in a container —--libonly, nothing that reaches the guard, and the branch predates #430, #581, #613, #620. - The single review stands. yatesdr,
CHANGES_REQUESTED2026-11-20 04:39, three blocking points (cause not shown; skip broader than the case; no test) plus a four-item resubmission list. Not withdrawn after the new evidence; no other maintainer has replied.
The change (+20 / −0, 1 file)
helios/src/runtime_core/mod.rs, three hunks (pr_diff):
:790-794— aBTreeMap<(i32,i32), u64>counters map created per graph, keyed by (attribute id, driver status).:892-900— beforedriver.check("cuGraphKernelNodeSetAttribute", status)?, a status- and id-agnostic guard: if status ≠ 0 and every payload word is zero, bump the counter andcontinue. Non-zero payloads still abort.:985-990— after the node loop, oneeprintln!per (graph, id, status):graph {}: skipping zero-valued kernel-node attribute id={} on {} node(s); rejected by this driver (status={}).
On main the surrounding loop is helios/src/runtime_core/mod.rs:989-1018, id-2 cooperative clamp :1002-1016, driver.check(...) at :1017, clamp_cooperative_launch at :1335. The hunk still applies cleanly.
What the description does not say: the log aggregation (commit b49b3675) removed the node index. The previous per-node line named the node and matched the cuGraphAddKernelNode_v2 failure message, which was a genuine (if minor) improvement; the aggregated line loses that attribution and, because the map is printed only after the whole node loop, a graph that aborts mid-loop now prints no skip lines at all.
The why
The reported failure is real and reproducible in the field: two independent GB10 reporters (jannerchang's two DGX Sparks, 580.178.04; lemassykoi's two ThinkStation PGX, 580.178.04, 2026-11-23 18:47) cannot load a third-party core at all without it — Prepare execution aborts with cuGraphKernelNodeSetAttribute failed (1, CUDA_ERROR_INVALID_VALUE) on rank 0. With the patch both load and serve (83.8 GiB weights, 4,373 kernels; 37,496 skip lines, ≈5 MB of journal per launch).
But the diagnosis in the PR body — "drivers reject kernel-node attributes added after their CUDA release" — is contradicted by both facts on record: the reviewer notes id 11 is CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION in the CUDA 13 headers and R580 is CUDA 13.0; and the author's probe shows the same driver accepting the zero write. What is left unexplained is the status-1 INVALID_VALUE on 580.178.04 that nobody has reproduced. #2 already fixes the same message class by loading different user-mode libraries.
Project fit
- Charter: see Key findings 1 and 4; the Vision ("SM120/SM121 workstations and DGX Spark") puts the affected users inside the supported target, which strengthens the case for a supported fix (compat-libs / minimum-driver diagnostic) rather than none.
AGENTS.md:182-187(reject weakened guarantees; do not suppress errors),:209-212(do not rescue by adding an opt-in),:72-112(four-part PR description),:142-153(mandatoryDiscord:line).docs/design-review.md:116-123(principle 13: old cores must load, validated through loading and serving),:135-146(principle 15: "passing tests, flags, and temporary paths cannot waive architectural invariants"),:313-318(agents must refuse sign-off on a violating change).docs/runtime-core-design.md:946-948(no driver pin),:906-915(the cooperative clamp is the one documented tolerance in this loop).
Claims and evidence
| Claim (PR body / comments) | Status |
|---|---|
| Driver 580 doesn't know attribute id 11 | Contradicted by the author's own probe: SetAttribute(11, zero) → 0; only non-zero cluster dims fail (912) |
| Guard reproduces the reported abort | Not demonstrated — probe host yields 0 for the exact call; field status is 1 on a different driver build (580.178.04 vs 580.173.02) |
| Applying zero is "a no-op by construction" | Readback after failed non-zero writes shows nothing sticks, but no readback is shown for the accepted zero write on the failing driver |
| New caveat: future non-zero cluster dims would be "silently degraded" | Wrong about this code — a non-zero payload never reaches the skip at all; it aborts at driver.check (mod.rs:1017 on main) |
| Preserved-failure branch is safe | Admittedly unexercised; lemassykoi observed no non-zero-payload rejections, and no test covers it |
"Verified: cargo test --lib 543/547" |
Unit tests only; 4 pre-existing engram io_uring failures; the guard, the map and the log line are not touched by any listed test |
Community
yatesdr (2026-11-20, CHANGES_REQUESTED) → lemassykoi confirmation with an explicitly self-corrected graph list and stated limits (one core, SM121, 580 only) → jannerchang ×2 (2026-11-26 14:22 probe, 14:27 aggregation). Four independent GB10 reporters across five weeks (#2 ×2, #397 ×2); one third-party confirmation; no maintainer reply to the new evidence and one review total. Discord: neither the PR body nor the confirmer's comment supplies a handle.
People
jannerchang is an outside contributor: GitHub association NONE, first PR/issue in this repo, not in the charter's priority list (@voipmonitor, @original-el8, @lukealonso). The route available is compliance with yatesdr's resubmission list, not merge on the strength of field reports. yatesdr is a helios/selene area owner (merged #609–#612 same week).
Reach
Affected population: stock DGX Spark and ThinkStation PGX hosts on driver 580 that consume third-party cores (e.g. pilcothink/flare_spark:pre-0.2 exports, hiroshiya/GLM-5.3-Flash-HYPERFLARE-GB10-TP2), i.e. exactly the documented target hardware, plus anyone publishing cores from a newer toolkit. The patch widens what a loader may silently mask for all 10 recorded attribute ids, on every driver, permanently. search_items finds no open issue tracking the GB10/580 attribute failure and no other PR proposing the skip, an export-side id-11 drop, or a driver-minimum gate; search_code on main for "zero-valued" returns nothing in docs/.
Related work
- #2 (closed issue): same failure family; the two GB10
SetAttributereports there were resolved by forward-compat libraries, and this PR borrows its "same class of issue" framing without its remedy. - #151 (open issue): orthogonal (RoCE rails); jannerchang is also active there. PR body says so correctly.
- #430 (merged): rewrote this same loop and added
Execution.persistent_workersgreen-context lifecycle; itsOption<GreenCtxDriver>/try_loadcapability-probing pattern is the in-tree answer for "this driver lacks a feature" — which #397 does not use. - #581 (merged 2026-11-29):
ignition: set USE_NODE_PRIORITY flag on exported CUDA graphs— adds an in-tree signed-core GPU replay harness (helios/src/runtime_core/node_priority_tests.rs:117-356: fixture viaFLARE_NODE_PRIORITY_TEST_CORE, CUPTIcuGraphInstantiateWithFlagsinterception, bit-exactReplayWorkerreplay) and the maintainer-accepted pattern for changing captured-graph semantics: record an explicit flag at export, validate at load, leave old cores (flags=1) untouched. This is both the test #397 lacks and the "explicit, keep old cores loadable" alternative. - #620 (merged 2026-11-29): legacy cores stay loadable by not dropping recorded state (neutral sentinels,
helios/src/model/packing.rs:804) — the opposite instinct to suppressing a load error. - #492 (closed): same file, older base, no overlap with the guard.
- Open same-file items: #621, #554 (draft), #323, #314 — none touch attribute replay.
dcb1d7b1(export-side precedent) and #506 (DGX Spark CX7 preflight inflare-cli/src/doctor/spark.rs— still no driver-version or compat-libs check).
Recent activity / state
Head b49b3675 (2026-11-26) on base 8b177cf1; main has moved to c146d7be (2026-11-29), so the branch is two main-rewrites behind (#430, #581) plus #613/#620. Ready-for-review, no labels, no milestone, no CI checks on the head commit, no rebase. PR description still quotes the removed per-node line (… in graph vision32768 node 0) and still lacks the mandatory Discord: line.
Open questions and what could not be found
- Whether R580 rejects attribute 11's id or its zero value — unresolvable in-tree: the repository carries no CUDA headers, so the
CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSIONidentification is an external claim. This decides between an export-side drop of id 11 (thedcb1d7b1shape) and a compat-libs/minimum-driver diagnostic. - Why
SetAttribute(11, zero)returns 1 on 580.178.04 while returning 0 on 580.173.02 — no trace, driver-version comparison, or loaded-library dump has been supplied for the failing host (the very things SvangenStudios asked for in #2). - Whether any zero-valued attribute other than id 11 is ever rejected — no field report shows one, and the preserved-failure branch is admittedly unexercised.
- Whether maintainers intend a compat-libs/minimum-driver diagnostic instead of a loader change — the charter's #404 bullet argues for it, but no issue or comment commits to it.
- Not found: any competing or superseding PR, any CI configuration covering this path, and any changelog or docs entry that would describe the new skip to users.
Verdict: request changes. The field problem is real and worth solving; this diff solves it up one layer, without a cause, without a test, and by suppressing an error the charter explicitly declines — and the author's own probe now shows the guard would be dormant on the host where it was measured.