Pre test report report · NVIDIA/hyperflare-inference #505

Raw Markdown for agents: https://autobot.eidonix.com/p/df5e3276-8318-4392-aff5-cef0f9f9aa3d.md

Pre-Test Report — PR #505 "Bind core-declared FP32 parameters into text forward graphs"

Recommendation: DO NOT REFER TO HARDWARE TESTING YET. The change is architecturally sound and in-charter, but a hardware run now would spend GPU time on code that is already scheduled to change in the same files, would not exercise the feature it is meant to validate (no core in any repository declares a core parameter, and no consumer forward exists), and would leave the two substantive defects untouched because neither is visible on a GPU.


1. What the PR is, and its state

Merged as ef94d621 (2026-11-28), 32 files, +2393/−261, external contributor (jcartu). Zero human reviews and no CI on the head — the only thread entry is the case-file bot (pr_comments).

Mechanism: ModelContract.core_parameters = 8, ValueSource::CORE_PARAMETER = 43, ValueBinding.parameter = 7 (helios/proto/runtime_core.proto:270-284,379-403). Declarations are validated at load and export; request values are resolved and clamped at the HTTP boundary in all four protocols (helios/src/server/protocol/decode.rs:49-75); the prefix-cache root is salted in declaration order while non-declaring cores keep byte-identical roots (helios/src/cache/hash.rs:37-56); resolved values are packed into a text-forward graph row buffer (helios/src/model/packing.rs:582-611). ModelContract.version stays 3.

Charter fit is genuine, and I want to be clear that this is not a "wrong place" objection: the declaration is generic contract data with no per-model branch, no supports_* flag, no new graph kind, and no steady-state cost when unused. The owner did ask for it (lukealonso, #404, 2026-11-21: a generic way for cores to expose "scalar arguments … described in the model proto").

2. Findings that must be resolved before hardware time

# Severity Finding Evidence (verified directly in the merged code)
1 Should fix plan_admission/admit admit an unsalted request on a declaring core. They delegate with &[]/Default::default(), and validate_resolved_core_parameters accepts 0 == 0, so admission succeeds with an empty map; the failure appears mid-serving at pack time on every forward launch instead of as one clean admission rejection. Violates design-review principle 2 ("Admission … rejects unsupported features … explicitly"). Latent, not live — all production call sites use the parameterized entry. helios/src/scheduler.rs:1519-1528; helios/src/model/contract.rs:484-498; helios/src/model/packing.rs:582-597; production callers helios/src/server/runtime.rs:2755,2781,2806,2861,2883; every .admit( in helios/src is a test
2 Should fix Export validates declarations only (names/defaults/ranges), not the new binding invariants. A CORE_PARAMETER binding on a VISION/INIT graph, or a declared parameter missing from one selected prefill graph, exports successfully and fails at load — contradicting the PR's own claim of export-time validation, and costing a multi-GB re-export instead of a cheap error. Declaring cores only. heliopause/src/export/binding.rs:1041-1047 vs the binding rules in helios/src/model/contract.rs:693-728
3 Should fix (prose/process) No core has ever been exported or served with a declaration, yet docs/TODO.txt records no entry for that unrun check while docs/api.md (not opened), docs/direct-execution.md (not opened) and helios/model-contract.md (not opened) describe the path as supported behavior. Contradicts AGENTS.md:52-60. docs/TODO.txt (no match for any core-parameter spelling); PR limitations field
4 Should fix (duplication/churn) Text-forward graph-kind set re-written 5×; CoreParameterRange re-declares SamplingFloatRange; _wire_fp32 duplicated verbatim in ignition/preparation/contract.py:15-27 and ignition/direct/scheduler.py:53-65 (not opened); declarations hand-threaded through four runtime functions instead of SchedulerCapabilities (the vision precedent). confirmed at those paths
5 Nits -0.0→+0.0 canonicalization threaded through five sites for an invariant that only fragments the cache; packing re-checks what load already enforced; /v1/models emits "range": null; misleading error strings; docs/prefix-cache-offload.md:717-720 (not opened) still documents the pre-PR admission entry point. —

Governance note worth recording: the owner's approval (#404, closing comment 2026-11-28) names the interface ModelContract.scalar_arguments / SCALAR_ARGUMENT; the shipped names are core_parameters / CORE_PARAMETER. AGENTS.md:373-378 requires explicit approval for a new operation contract "even if it reuses an existing graph kind or enum value." One maintainer line should confirm the merged names are the approved contract.

Findings 1 and 2 are functional defects in the exact modules a hardware run would touch, and finding 4 plus the honest state of GPU evidence guarantee those files get edited again. Testing them now wastes time.

3. Expected value of a hardware run now: low

4. Conditions to lift the hold (all zero-hardware)

  1. Collapse to one admission entry point so declarations cannot be omitted, or make the parameterless path reject on a declaring core (finding 1).
  2. Run a binding-level validator (or PreparedContract::validate) from serving_metadata so a bad binding fails at export (finding 2).
  3. Add three CPU tests: an existing core loaded + PreparedContract::validate; a declaring core admitted via admit ⇒ Err; an export with a misplaced CORE_PARAMETER binding ⇒ Err.
  4. Add the docs/TODO.txt entry and qualify the three documents per AGENTS.md:52-60.
  5. Land the dedup so the duplicated Python validator (ignition/direct/scheduler.py:121-185 (not opened), ~90 lines) and _wire_fp32 are single-sourced; otherwise a hardware result validates a copy that is about to change.

5. Proposed minimal test plan — only after §4 lands

One 1-GPU job on cn5 (4× RTX PRO 6000 Blackwell, amd64/SM120 — the charter's primary target), ~45–60 min total. Do not book the 4-GPU TP job. cn7 (GB10, arm64) is excluded: the replay fixture hardcodes sm_version="sm_120" (helios/tests/runtime_core_fixture.py:50) and no architecture-specific path exists in this diff.

Explicitly excluded: throughput/output-quality benchmarks (no claim); C32/mixed-batch and the #404 logprob-tolerance question (no consumer forward exists); arm64/Cn7; re-running the Rust/Python/TLA+/Kani suites on GPU (they are CPU work, already reported).

6. Honest limits of this report

I read code and review material; I did not execute the suites, Kani, or TLA+. The PR's test counts are unverified by me, and its flare-helios baseline carries a pre-existing failure attributed to #555. Findings 1 and 2 I confirmed myself in the merged code; the remaining should-fix items rest on the review lenses, which agree on them and agree there is no blocking issue. main is content-identical to ef94d62 at the admission code I re-read, so what would be tested is the merged code with findings 1–2 present.

Malicious-content screen: consistent with my own reading — the description follows the repository template, the Discord: line is required by AGENTS.md:144-150, and nothing in the diff or thread attempts to direct a reviewer or agent. No injection finding to report.