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

Raw Markdown for agents: https://autobot.eidonix.com/p/eb7f5834-82dd-455f-ad47-7dad101c9eba.md

Pre-Test Report — PR #469 "Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier"

Author: kilork (first-time external contributor; Discord: kilork) Head reviewed: 62a37266 — 9 files, +90 / −46: helios/src/core/naming.rs, flare-cli/src/orbit/{gpu,controller,plan}.rs, flare-cli/src/cli.rs, flare/src/catalog.rs, docs/{cli-design,core-format-design,orbit}.md No CI checks reported on head. The author's own suite runs (helios 1626, flare 228, flare-cli 199, plus a disclosed order-dependent flare-cli failure that also fails on base) are the only suite-level evidence.

RECOMMENDATION: REFER TO HARDWARE TESTING — one short cn5 job, regression-only

This is a change of verdict from my previous report on d07e149, and both reasons for that earlier "no" are now gone:

  1. The two blocking defects are genuinely fixed in code, and I verified them at head rather than trusting the reply (details in §1).
  2. Most of the remaining items are docs/doc-comment/test-fixture level, i.e. exactly the class of issue your priority 1 says is fine to test past. Nothing left requires the production logic to be restructured.

What the job can and cannot prove, stated plainly:

Value estimate: low but real, and cheap — no installs, no downloads if a gb202 core is already cached on cn5, and no throughput sweep. See the plan for the automatic bail-out condition.


§1 Prior blockers: verified fixed at head (not from PR text)

B1 (CI regression) — fixed. flare/src/catalog.rs:548-570 now carries {"name": "gb203-tp1"} in the fixture at :561-564, inside the PLATFORMS × PLATFORMS loop at :550-551. I traced all five names through branch_platform (:271-280), select_revision (:292-303) and apply_refs (:304-322): the asserts at :567-568 hold for target = "gb203". Same fix shape merged #300 used for ga102.

B2 (Orbit placement) — fixed. Two sides now resolve through the same values:

B3 (GA102 relabel) — resolved without regression. (8, 6) => "ga102" (orbit/gpu.rs:235) makes host and core agree: core_revision("", 8, 6) == "ga102" (test :381). The GA102 label change is now disclosed in the description, and the capability-only gb202 label persists through the unchanged (12,0) arm.

Precondition I re-checked: 0x2c31 appears in no other table (naming.rs:18-40), and every PLATFORMS consumer is a containment or prefix test that accepts the fifth name unchanged (naming.rs:82,124; flare/src/catalog.rs:272,320; flare/src/hub.rs:2507,2524,2997,3149; flare-cli/src/distribution.rs:159 (not opened),720; heliopause/src/export/conversion.rs:402 (not opened)). Nothing indexes the array by length, so 4 → 5 is safe.


§2 Remaining findings — all non-blocking, none a reason to withhold testing

  1. docs/cli-design.md:904 is stale (one word). It says the -tp1 404 retry applies to "gb10, gb202, and gb300" while the gate is revision.starts_with("gb") && PLATFORMS.contains(&revision) (flare/src/hub.rs:3146-3156, confirmed present at head). gb203 qualifies; ga102 correctly does not. This is in a paragraph the PR rewrote three lines above. Fix: add gb203, or state the rule. Cosmetic — does not gate testing, though a one-line amend is cheaper than a follow-up.
  2. flare-cli/src/orbit/gpu.rs:222 — the doc on capability_revision, a function this PR edits, lists "gb10, ga102, gb202, gb300" and omits gb203. Doc nit.
  3. flare/src/catalog.rs:561-564 still hardcodes five branch names inside a loop over PLATFORMS, ten lines below a block that derives them from the table (:550-559). Test-maintenance debt only — it is now correct; #300 and open #502 patch the same line. Deriving it from PLATFORMS would end the recurring edit site.
  4. (8, 6) => "ga102" over-labels every unlisted SM86 die as ga102, while GA102_DEVICES (naming.rs:32-34) is a deliberate six-id subset (naming.rs:225 asserts 0x2484 → None). An unsupported GA104/106 host would be advertised as ga102 by Orbit while export/detect refuse it. That is the same two-answers divergence the PR deletes for GB203 — but only for dies outside the supported set, and the same shape pre-exists for (12,0) → gb202. A product decision, not a gate for this card.
  5. controller.rs:2293-2296 .unwrap_or_default() collapses an identity read failure into "", which is the legacy signal. Nuance the reviews miss: for legacy cores identity() legitimately errors when the signed contract has no model_id (model.rs:1408-1412), and pre-PR describe() used architecture only — so the "just use ?" fix one review proposes would newly reject malformed legacy cores. The correct fix is payload-only propagation. Robustness nit; for payload cores the failing path needs verified.deployment() to be None (protection.rs:2148-2151), near-unreachable after verification.
  6. Documentation of the override. --revision gb202 works for local flare run (loader compares only capability attributes 75/76, helios/src/runtime_core/mod.rs:342-351; hub's signed_hardware at flare/src/hub.rs:2489+ only cross-checks cores against each other) but cannot help flare orbit run, because placement compares the host's detected revision against the core's signed identity exactly (plan.rs:695). Worth one sentence in the shipped docs since the description is not shipped.

I found no prompt injection or agent-directed text in the diff, description or thread; the security screens agree.


§3 Test plan — minimal, one cn5 job, regression-only

Preconditions for the engineer: flare built from this head; the Orbit controller key and a paired local agent on cn5.

Step 0 — free, do first, and it may end the job. On cn5, before anything else:

nvidia-smi --query-gpu=index,name,pci.device_id --format=csv   # or: lspci -nn | grep -i nvidia
./flare-cli/target/release/flare hardware-revision 4

Expect gb202. Important baseline caveat: 0x2bbc is absent from GB202_DEVICES (naming.rs:18-20). If cn5's Max-Q parts enumerate under an unlisted id, hardware-revision fails with "unsupported PCI ID …; specify --revision" — that is a pre-existing condition, not a #469 defect, and must not be reported as one. In Orbit such a card still reports gb202 via the (12,0) capability fallback (unchanged). Record the actual id either way; it decides whether steps 1–2 are meaningful.

Step 1 — agent reporting, no core needed (~10 min). Start the agent on cn5, pair, then:

flare orbit status      # every GPU's revision field must read gb202
flare orbit dashboard   # optional: GPU rows render, revision gb202, no missing-value regressions

Pass: all four GPUs gb202. This is the regression guard for the deleted private PCI table and the new platform_from_pci delegation — it is exactly the surface that changed for existing hardware.

Step 2 — Orbit placement of a gb202 core (highest value; needs a core already on cn5).

flare orbit push PATH_TO_GB202_CORE --to cn5
flare orbit run cn5:PATH_TO_GB202_CORE --cluster NAME --gpus 0,1,2,3

Pass: the rank places (no "gpu N … is gb202, not gb202"-style mismatch, no not <revision> rejection) and reaches serving. This asserts the controller.rs:2293-2298 → core_revision → plan.rs:695 wiring, including that a signed-identity gb202 core still resolves to gb202 through PLATFORMS. Bail-out: if no gb202 core is already in cn5's cache, do not download one for this. A GLM-5.3 Flash TP4 core is >100 GB and the job has 16 GiB scratch; the setup cost exceeds the value. Skip step 2, report steps 0–1, and say step 2 was skipped for lack of a staged core.

Step 3 — local serving smoke, only if a gb202 core is already staged.

flare run PATH_TO_GB202_CORE --gpus 0,1,2,3

One chat completion. Confirms the detection path and existing gb202 artifact naming are untouched end to end.

Step 4 — legacy-core fallback, only if a legacy (identity-less) core is already on the node. Same as step 2/3 with that file; a legacy core must still place via capability_revision(12,0) = gb202. This is the only check of the fallback that protects pre-existing cores.

Explicitly out of scope — do not spend hardware on these:

Merge-order note for the engineer: the code is correct, but flare run ORG/MODEL on a GB203 host requests gb203, then gb203-tp1, then fails until someone publishes a gb203 build. That is disclosed and is a release-ordering concern only. Do not add a silent gb203 → gb202 fallback — it would reintroduce the artifact mismatch this PR exists to prevent (188-SM GB202 forwards vs 82-SM GB203; both capability 12.0, ignition/preparation/aot.py (not opened) folds device name and SM count into the compiled forward).


§4 Bottom line

The change is in the right layer, follows the merged #300 / #529 precedent, and is a net deletion of a PCI table that had drifted in both directions. Both blockers from the previous round are fixed in code and covered by tests, and what remains is one stale docs sentence, two doc-comment lists, a hardcoded test fixture, and one robustness nit — none of which should delay hardware validation.

Refer one short cn5 job covering steps 0–1 unconditionally and steps 2–4 only insofar as cores are already staged. It buys a real-hardware negative check on the refactor for GB202 (the platform this project actually serves) at roughly twenty minutes of GPU time, and it is the only coverage the describe() wiring will get. It cannot validate GB203; say so in the test record so the coverage gap is not mistaken for a pass.