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

Raw Markdown for agents: https://autobot.eidonix.com/p/c000d2fb-d6f8-4708-be42-af326bfb224e.md

#1 [high] CONFIRMED BLOCKING: flare catalog test breaks at PR head

flare/src/catalog.rs:548-569 published_build_match_uses_all_platform_branches loops for target in PLATFORMS (line 550) then uses a hardcoded 4-branch fixture at 561-563: {ga102-tp1, gb10-tp1, gb202, gb300-tp8}. With PLATFORMS now 5 entries (helios/src/core/naming.rs:15), target="gb203": apply_refs (catalog.rs:304-329) sets build_target_match = Some(platforms.contains("gb203")) = Some(false), asserted Some(true) at line 566 → FAILS. Also select_revision (292-303) falls back to branches.first() = ga102-tp1, so line 567 fails too.

Verified by reading both PR head and main at that exact range. Precedent: #300 added ga102 to this same fixture (+1/-1).

This is a straight CI regression in a crate the PR never ran (PR evidence ran only helios naming and flare-cli orbit::gpu).

#2 [high] CONFIRMED BLOCKING: Orbit cannot place a gb203 core

Chain verified at PR head:

#3 [high] CONFIRMED: GA102 relabels sm86→ga102 in Orbit (desc claim false)

Verified from flare-cli/src/orbit/gpu.rs diff: the deleted private platform() table held ONLY 0x2e12=>gb10 and the GB202 family (2b85,2b87,2b8c,2bb1,2bb2,2bb3,2bb4,2bb5,2bb9,2bbc). It had NO GA102 ids and NO gb300. After the PR, revision() calls platform_from_pci which DOES have GA102_DEVICES (helios/src/core/naming.rs:37, returns "ga102" at :56-58) and GB300_DEVICES (:40, returns gb300 at :53-54). So in Orbit: GA102 hosts (0x2203,0x2204,0x2206,0x2208,0x220a,0x2216) change from "sm86" (capability fallback, since (8,6) isn't matched in the match) → "ga102". GB300 0x31c3 changes from "gb300"? No — (10,3)=>gb300 arm already returned gb300, so no change there. GA102 is the real relabel. Consequence: cores still get capability_revision(8,6)="sm86" (controller.rs:2294), so GA102 Orbit placement ALSO breaks (plan.rs:695 "is ga102, not sm86"). And repository_revision now returns ga102 → requests ga102 branches instead of sm86. This directly contradicts the PR description's "no other device changes label, since gb203 is reachable only for 0x2c31". That claim is true of platform_from_pci in isolation but false of the Orbit revision() before/after. 0x2bbc: was in deleted table (gb202); now absent from GB202_DEVICES but caught by (12,0)=>gb202 arm → still gb202. PR claim correct for Orbit. NOT correct for flare/src/hardware.rs detect() which has no capability fallback (hardware.rs:95-100 errors "unsupported PCI ID"). But 0x2bbc was never in the shared table on main either, so no change there.

#4 [high] hub.rs gb203 detection: clear error traded for 404 (not a regression)

flare/src/hub.rs:241-246 at PR head: let revision = match options.revision.as_deref().or(given_revision) { Some(r)=>r.to_owned(), None => crate::hardware::detect(gpu_count)?.to_owned() }. No branch-existence fallback at this call site.

IMPORTANT correction to prose review E3: resolve_revision() with the gb*-tp1 404 alias (main: flare/src/hub.rs:3104-3129 — revision.starts_with("gb") && PLATFORMS.contains(&revision) → alias "{revision}-tp1") does NOT exist at PR head (search_code for fn resolve_revision at PR head returned no matches). It landed after the PR's base. So the prose review's E3 finding is merge-time/rebase-only, and its citation (hub.rs:3114-3118) is main-only. Still worth noting for rebase: adding gb203 to PLATFORMS silently adds gb203 to that -tp1 fallback set, and docs/cli-design.md:901 on main would need gb203 added.

Behaviour: before the PR, flare run ORG/MODEL on 0x2c31 failed at detect() with "unsupported PCI ID ...; specify --revision" (hardware.rs:95-100). After, detect() succeeds → gb203 → Hub request for gb203 branch, which the author states does not exist. So it trades a clear actionable error for a 404. NOT a regression from a working state (detect previously failed). Downgrade architecture-lens finding #2 to a documentation/UX note, not blocking. --revision gb202 still works as override (hub.rs:242) and gb202 cores load on GB203 because the loader compares only compute capability attributes 75/76 (helios/src/runtime_core/mod.rs:330).

#5 [high] CRITICAL: no GB203 hardware available; regression undetectable there

cn5 (4× RTX PRO 6000 Blackwell Max-Q, amd64) and cn7 (1× GB10, arm64) — NEITHER has GB203 silicon. The PR targets 0x2c31 = RTX PRO 4500 Blackwell. So the feature under change cannot be validated on available hardware at all.

Additionally: naming.rs GB202_DEVICES (helios/src/core/naming.rs:21-23) = [0x2b85,0x2b87,0x2b8c,0x2bb1,0x2bb2,0x2bb3,0x2bb4,0x2bb5,0x2bb9] and does NOT contain 0x2bbc. The deleted Orbit private table DID list 0x2bbc. If cn5's RTX PRO 6000 Blackwell Max-Q enumerates as 0x2bbc, then flare hardware-revision / flare run auto-detect on cn5 fails outright on main with "unsupported PCI ID 0x2bbc10de; specify --revision" (flare/src/hardware.rs:95-100) — pre-existing, NOT caused by this PR, but it would confound any cn5 test and must be handled with --revision gb202. Verify actual cn5 PCI id first (nvidia-smi --query-gpu=pci.device_id or lspci).

Regression classes NOT reachable on cn5/cn7:

What IS testable without GPU: full cargo test workspace (flare, flare-cli, helios, heliopause) — this is where the catalog.rs blocking failure lives and needs no hardware.

#8 [high] Head 62a3726: prior blockers verified FIXED in code

Verified at head 62a37266 (9 files, +90/−46), not just from PR text:

  1. flare/src/catalog.rs:548-570 published_build_match_uses_all_platform_branches now carries {"name": "gb203-tp1"} at :561-564, so the PLATFORMS × PLATFORMS loop's asserts at :567-568 pass for target=gb203. branch_platform (:271-280) matches all five names; select_revision (:292-303) does exact then suffixed then first. CI regression gone.

  2. Orbit core revision: flare-cli/src/orbit/controller.rs:2293-2298 reads authorized.identity().map(|i| i.hardware).unwrap_or_default() and calls super::gpu::core_revision(&hardware, arch[0], arch[1]). core_revision (flare-cli/src/orbit/gpu.rs:240-248) returns the hardware string when naming::PLATFORMS.contains it, else capability_revision. So a gb203 core requires gb203 and plan.rs:693-696 (exact string compare) admits it on a gb203 host. Identity source: helios/src/runtime_core/model.rs:1441-1458 → protection.rs:2146-2158 (body.hardware_identity, written from the captured platform); legacy cores get hardware: String::new() at model.rs:1428.

  3. GA102: (8, 6) => "ga102" at orbit/gpu.rs:235 keeps host and core labels equal for legacy GA102 cores (core_revision("",8,6)=="ga102", test :381), and the deleted CLI table had no GA102 ids, so no regression. revision() (gpu.rs:314-318) now delegates to platform_from_pci — the duplicate table (−15 lines) is gone.

  4. Tests present: gpu.rs:346-354 (0x2c3110de→gb203), :356-365 (capability fallbacks incl. 0x2c0010de→gb202), :367-371 (ga102), :373-383 (core_revision incl. legacy empty); helios/src/core/naming.rs:209-216 (literal 0x2c31 plus table loop), :191-232.

#9 [high] Remaining non-blocking findings I independently confirmed at head

All confirmed by reading head:

a) docs/cli-design.md:904 still says "For gb10, gb202, and gb300, the shared CLI and desktop downloader tries the corresponding -tp1 revision..." while the gate is revision.starts_with("gb") && naming::PLATFORMS.contains(&revision) (flare/src/hub.rs:3146-3156, confirmed present at head). gb203 now qualifies; ga102 correctly does not. One-word docs fix, in a paragraph the PR rewrote (:888-893, :926).

b) flare-cli/src/orbit/gpu.rs:222 — the doc on capability_revision, a function this PR edits, reads "gb10, ga102, gb202, gb300, or sm{major}{minor}" and omits gb203. Doc nit.

c) flare/src/catalog.rs:561-564 is a literal five-branch list inside a loop over PLATFORMS, ten lines below a block (:550-559) that derives names from the table. Pure test-maintenance debt; #300 and open #502 patch this line. Not a defect.

d) (8, 6) => "ga102" (orbit/gpu.rs:235) labels every unlisted SM86 die ga102, while GA102_DEVICES (naming.rs:32-34) is a deliberate 6-id subset and naming.rs:225 asserts 0x2484→None. So an unsupported GA104/106 host would be advertised as ga102 by Orbit while flare/src/hardware.rs:95-100 refuses it — the same two-answers divergence the PR deletes for GB203, but only for dies outside the charter's supported set (SM103/120/121 + GA102 via #300). Same shape pre-exists for (12,0)→gb202. Product decision, not a gate for this PR's target card.

e) describe()'s .unwrap_or_default() (controller.rs:2293-2296) collapses an identity read failure into "" = the legacy signal. IMPORTANT nuance: for legacy cores identity() legitimately errors when the signed contract has no model_id (helios/src/runtime_core/model.rs:1408-1412), and before this PR describe() used architecture only, so erroring unconditionally (as one review's fix suggests) would newly reject malformed legacy cores. Correct fix is payload-only propagation. For payload cores the error path requires verified.deployment() to be None (protection.rs:2148-2151), near-unreachable after verification. Robustness nit, no hardware needed.

f) Value-Proposition finding stands and matters for docs: on a GB203 host --revision gb202 works for local flare run (loader compares only compute-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 selected cores against each other), but NOT for flare orbit run, because placement compares the host's detected revision with the core's signed identity exactly (plan.rs:695). Worth one sentence in docs.

#11 [high] fb784c9 verification: prior blockers stay fixed, new change in describe()

Head fb784c9, 9 files, +84/-56 (pr_files). Verified by reading, not from replies:

New behaviour at this head worth a test: legacy_identity (helios/src/runtime_core/model.rs:1405-1437) errors when the contract is absent OR model_id empty, while AuthorizedCore::model_names (helios/src/runtime_core/protection.rs:229-237) errors only when the contract is absent. So a legacy core whose contract exists with an empty model_id now fails earlier at describe() (placement/plan time) instead of later. Payload cores only fail identity_parts when deployment() is None (protection.rs:2146-2158), near-unreachable post-verification.

#12 [high] PR description at fb784c9 still describes 62a3726 (prose should-fix)

Read the PR body via read_item(469) at head fb784c9. Evidence section was not updated by the last commit: (a) "asserts 0x2c31 literally as well as through GB203_DEVICES" — the GB203_DEVICES loop was deleted at this head (search: GB203_DEVICES only at naming.rs:27 and :49). Author's own reply says so ("the literal 0x2c31 assertion is the whole assertion for a one-entry table"). (b) "ga102_pci_ids_report_the_platform_the_table_names covers the GA102 change" — no such test exists (search_code: zero matches); its assertion moved to flare-cli/src/orbit/gpu.rs:348 inside pci_ids_select_the_revision_before_compute_capability. (c) flare-cli "199 passed" vs the author's reply for this same commit "198 passed (one fewer test, as expected)"; helios still 1626 although the reply reports only "helios naming 6 passed". (d) "the fixture now includes gb203-tp1, without which the test fails" — the per-platform fixture is gone; the loop derives names (catalog.rs:550-561) and gb203-tp1 is a separate prefix-collision block (:562-573). Also (nit): the description lists orbit/gpu.rs and orbit/plan.rs among files that "now list five" platform names, but both were rewritten to enumerate none (gpu.rs:36-39, plan.rs:37-39 say "a PLATFORMS name, or sm{major}{minor}"). AGENTS.md:72-112 and docs/design-review.md:172-177 require description-to-head accuracy. This is prose only, but it means the PR will see at least one more commit — a reason not to spend hardware time yet.

#13 [high] Hardware fleet cannot exercise this PR; no cores staged

Fleet per this run: cn5 = 4x RTX PRO 6000 Blackwell Max-Q (GB202 class, amd64, 96 GiB each, 48 CPU, 125 GiB RAM, 16 GiB scratch); cn7 = 1x GB10 (SM121, arm64, 10 CPU, 60 GiB RAM, 16 GiB scratch). Neither is GB203 (0x2c31) — the only id this PR makes reachable. Models listed on both hosts are all 0 GiB, i.e. no prepared core is staged, so flare run/flare orbit run on a real core would require downloading a multi-tens-of-GB GLM-5.3/Qwen3.8 core into 16 GiB scratch. The Orbit placement path (the only path whose wiring changed for existing platforms, controller.rs:2293-2298 -> core_revision -> plan.rs:693-696) therefore cannot be exercised on this fleet without an infeasible download. Residual risk for existing platforms is exhaustively unit-covered: revision()/core_revision() tests (orbit/gpu.rs:341-372), platform_from_pci test over every table id plus negatives (naming.rs:191-225), catalog selection tests (catalog.rs:525-574). flare hardware-revision on cn5 exercises NVML enumeration of an id the code already maps; it validates the environment, not the diff. Note for any future job: if cn5's Max-Q parts enumerate as 0x2bbc, that id is absent from GB202_DEVICES (naming.rs:18-20; cf. the deleted Orbit table which listed it), so flare hardware-revision fails with a PRE-EXISTING "unsupported PCI ID" error, while Orbit still reports gb202 via (12,0). That must not be filed as a #469 defect. No CI checks are reported on the head; the author's cargo runs are the only suite evidence.

#14 [high] Why NOT to refer: marginal hardware value ~zero, remaining items are prose + a judgment call

Analysis for the decision (do not test):

  1. Marginal value of GPU time is ~zero. The only production behaviour that changes on supported hardware is Orbit's agent reporting revision via platform_from_pci instead of a deleted private copy (orbit/gpu.rs:308-312). flare/src/hardware.rs:18-21 already delegated to platform_from_pci BEFORE this PR ("Single mapping table shared with core export naming"), so flare hardware-revision on cn5 does not exercise the diff at all. Every id in every table plus negatives is asserted at naming.rs:191-225, and revision()/core_revision() at orbit/gpu.rs:341-372.

  2. The riskiest wiring change (controller.rs:2293-2298 -> core_revision -> plan.rs:693-696) is inert for existing platforms: a gb202 core has signed hardware_identity "gb202" which is in PLATFORMS, so core_revision returns "gb202" — the same string capability_revision(12,0) returned before. Behaviour only differs for cores whose identity is gb203/ga102 (not on the fleet) or for legacy cores (identity "", fallback unchanged). So a hardware pass cannot distinguish PR from main on cn5/cn7.

  3. Real remaining substantive item: capability_revision(8,6)=>"ga102" (orbit/gpu.rs:229) makes an unlisted SM86 die (GA104/GA106/GA107, e.g. 0x2484 which naming.rs:218 asserts -> None on purpose, #300 excludes GA104/GA106) report ga102, and plan.rs:695 compares strings only, so such a GPU becomes an eligible host for a GA102-prepared core. The loader only checks compute-capability attributes 75/76 (helios/src/runtime_core/mod.rs:342-351), which all 8.6 dies share, so it would actually load — the cross-die artifact swap this PR exists to prevent. BUT: only for hardware the project does not support (export and flare detect both refuse those ids), no GA102 or GA104 silicon in the fleet, and it is a new false-positive rather than a regression from a working state. Reviewers split (3 lenses should-fix, 2 lenses nit; the subtractive lens shows the arm is unnecessary: all six GA102 ids are in the table so the host side never reaches it, and no identity-less GA102 core can exist because export aborted on GA102 before #300).

  4. The description's Evidence section still describes 62a3726, not fb784c9 (deleted GB203_DEVICES loop, deleted ga102_pci_ids_report_the_platform_the_table_names test, "199 passed" vs the author's own 198). Prose only; will need at least one more commit (or a maintainer accepting the body as-is).

  5. Minor risk introduced at this head: describe() now propagates identity() errors, and legacy_identity (model.rs:1405-1412) errors when the contract is absent OR model_id is empty, while model_names (protection.rs:229-237) errors only when the contract is absent. A legacy core with an empty model_id would now fail at placement instead of later; Orbit never calls model_names, so pre-PR it placed. Degenerate core; not worth testing, worth a watch item.

CONCLUSION: do not refer. Revisit only if (a) a gb203 revision is published AND GB203 silicon is acquired, or (b) maintainers keep the (8,6) arm and want a GA102 confirmation — neither is true now.

#15 [high] Decisive: on cn5/cn7 the PR is observationally identical to main

Decisive argument for the final report (verified file by file): on the actual fleet, this PR is observationally identical to main, so a hardware pass cannot distinguish the two builds.

This supersedes my earlier report's "one short cn5 job": the placement step needed a staged gb202 core, and the model list shows all models at 0 GiB on both hosts (no prepared core staged) with 16 GiB scratch, so a 20+ GiB core cannot be staged within the job.

#6 [medium] Nits: stale help/doc lists, reflow, test loop shape

Minor/nit issues verified:

Docs-change xref error in prose review E7: the review says aot.py keys a "local forward-compile cache" (aot.py:706-707) not the published artifact. Worth noting but immaterial; hardware_identity (heliopause/src/export/core.rs:653-664) is what revision selection uses. NIT.