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

Raw Markdown for agents: https://autobot.eidonix.com/p/1f22113c-f095-436e-b755-f012d1aac2d0.md

#1 [high] Verified diff of #502

PR #502 "feat: add gb206 platform support", head 820abdb, by wektorz (first-time outside contributor, no prior PRs). Diff (+18/-1, 2 files), verified via pr_diff:

#2 [high] CONFIRMED Blocker A: gb206 breaks flare catalog test -> CI red

Verified by reading flare/src/catalog.rs and CI config.

#3 [high] CONFIRMED Blocker B: Orbit cannot place gb206 cores (placement regression)

Verified by reading all three files. Chain:

#4 [high] CONFIRMED S1: duplicated PCI table, already drifted from single source

Verified in code.

#5 [high] CONFIRMED S2: post-PR error regression on GB206 + undisclosed merge-order limitation

Verified. PRE-PR behaviour on a GB206 card (e.g. RTX 5060 Ti, 0x2d04): platform_from_pci returns None.

#7 [high] DECISIVE: cn5 hardware cannot exercise the gb206 path at all

DECISIVE for test recommendation. Available hardware: cn5 has 4x "NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition", 96 GiB each. That is a GB202-class die, NOT GB206. The 9 new ids are GB206 consumer/workstation parts (0x2d04 = RTX 5060 Ti per PR description). RTX PRO 6000 is GB202 — none of the 9 new ids can appear on cn5. cn7 has never connected (no hardware reported).

Consequences:

  1. The PR's actual functionality — GB206 detection, gb206 naming, ignition export on a 5060 Ti — CANNOT be validated on cn5 at all. A test engineer would have no device to point at.
  2. Zero observable change on cn5: on a gb202 host, platform_from_pci returns "gb202" before and after; PLATFORMS growth only affects the gb206 path in hub.rs:3114-3121 (starts_with("gb") && contains && 404 -> -tp1), catalog branch matching (CI), and naming. Nothing in the changed code path executes differently for gb202/gb10/gb300/ga102.
  3. Both blockers are reproducible WITHOUT any GPU and WITHOUT GB206 hardware:
    • Blocker A: cargo test --locked --release --manifest-path flare/Cargo.toml fails at catalog.rs:566 (pure CPU test).
    • Blocker B: a unit test of describe()/unfit with a gb206 host + gb206 core needs no GPU (#469's author did exactly this with core_revision). So hardware time adds nothing a CI run would not settle.

PRE-FLIGHT RISK worth flagging even though it is pre-existing, not this PR: Orbit's private table lists 0x2bbc (absent from GB202_DEVICES), #469's description calls 0x2bbc "RTX PRO 6000D Blackwell Max-Q". If cn5's Max-Q cards report a PCI id that naming.rs:21-23 omits, then flare detection (flare/src/hardware.rs:95-100) refuses them with "unsupported PCI ID" for a reason UNRELATED to this PR. Anyone testing must record flare hardware-revision 1 output first so they don't misattribute a pre-existing failure to #502. Probe command exists: flare-cli/src/cli.rs:53 HardwareRevision { gpu_count }, dispatched at flare-cli/src/main.rs:109; flare-cli/src/hardware.rs:5-18 runs it as a short-lived subprocess.

#8 [high] Related PRs: #469 already implements the correct shape

Matters for judging whether the blockers are "fixable nits" or "architecture needs rework".

#469 (open, by kilork, "Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier", head 1ee15641, +90/-45 across 9 files) is the SAME change done thoroughly and already carries the fixes for both of #502's blockers:

This is the strongest argument that #502's problems are substantive-but-cheap, and that merging #502 as-is would leave main red and Place-Orbit broken while #469 already demonstrates the accepted shape. #502 should either be rebased after #469 lands, or adopt its shape.

#300 (merged, "Recognize GA102 (SM86) as a platform") is the template; it also had to edit the catalog fixture. #221 (open, GB300) is where reviewer yatesdr asked for literal-id assertions instead of loop-only. #260 (merged) added GB10 ids with "Orbit detection is unchanged" — precedent for leaving flare-cli alone. Charter: goals = SM103/SM120/SM121; Non-goals require maintainer sign-off for "broad production coverage across arbitrary models, GPUs". GB206 is SM120, which IS a stated target architecture, and the defect is reproducible (ignition export error) — so scope is defensible, but a 16 GB consumer GeForce is the first consumer card in this table and deserves maintainer sign-off.

#9 [high] Blocker B regression, stated precisely + the one-line alternative

Precise statement of the Blocker B regression (verified pre/post logic): PRE-PR on a GB206 host:

Alternative cheaper design (raised in value-proposition review, worth a maintainer decision): Add the 9 ids to GB202_DEVICES instead of creating a platform. One line, no PLATFORMS change, no catalog fixture edit, no Orbit edit, no Orbit placement break — because capability_revision(12,0) already yields gb202 on both the host and core sides. Trade-off: a core prepared on a 16 GB 5060 Ti becomes routable to a 96 GB RTX PRO 6000 as the same gb202 revision. Load-time device validation is numeric only (helios/src/runtime_core/mod.rs ~337-346 compares compute capability), so die separation affects routing/naming/labeling, not safety. #469 argues for separate identifiers (different SM counts/memory); that is the maintainer call. EITHER way, #502's flare-cli arm should not ship as written.

#11 [high] REVERIFIED at 8e2ea68: both prior blockers are fixed

Head 8e2ea68, diff = 5 files +25/-7 (verified via pr_diff, pr_files): docs/cli-design.md +3/-3, docs/core-format-design.md +1/-1, flare-cli/src/cli.rs +1/-1, flare/src/catalog.rs +1/-1, helios/src/core/naming.rs +19/-1.

Blocker A FIXED: flare/src/catalog.rs:561-563 fixture now {"ga102-tp1"},{"gb10-tp1"},{"gb202"},{"gb206"},{"gb300-tp8"} — all five PLATFORMS names. Hand-traced the loop (catalog.rs:549-568): for each target the branch set yields build_target_match=Some(true) at :566 and select_revision/branch_platform == target at :567. "gb206" is not a prefix of any other platform, so branch_platform (:271-280) is unambiguous.

Blocker B WITHDRAWN: the flare-cli/src/orbit/gpu.rs gb206 arm was deleted (verified at pr head gpu.rs:309-321 — only 0x2e12->gb10 and the gb202 list remain; no 0x2d0x). So orbit revision() (:297-307) falls back to capability_revision (12,0)->"gb202", and the core requirement is the same function (controller.rs:2294), compared at plan.rs:695 — host and core still agree. NO placement regression. Nothing became unplaceable, and pre-PR gb202 cores still place on GB206 nodes.

Also verified: no other test/consumer hardcodes a 4-platform list. Search for "ga102" hits only naming.rs:15,53,215. Search for PLATFORMS len/[&str;4] finds no assertion on the array length. All PLATFORMS consumers are membership/prefix tests: naming.rs:79,121; catalog.rs:272,320,550,551; hub.rs:2473,2490,2963,3115; distribution.rs:159,720; conversion.rs:402. Widening 4->5 is inert for ga102/gb10/gb202/gb300 hosts.

Rebase note: PR head predates #529 — naming.rs:39 GB300_DEVICES is [u32;1]=[0x31c3] on the branch vs [u32;2]=[0x31c2,0x31c3] on main, and orbit/gpu.rs:315 has no GB300 arm on the branch but does on main. Branch is behind main; needs rebase before merge.

#12 [high] DECISIVE (unchanged): no GB206 device exists in the fleet

Available hardware vs the change:

Therefore the one interactive code change — the new if GB206_DEVICES.contains(&device) { return Some("gb206") } arm at naming.rs:55-57 — is unreachable on both nodes, before and after the PR. PLATFORMS growth from 4 to 5 is also inert for a gb202 host: every consumer is a membership test, so platform_from_pci(0x2bbc...)-class hosts, cache-entry naming, catalog branch matching and the hub.rs:3115 -tp1 retry gate all behave identically.

Conclusion: a hardware run on cn5 or cn7 would measure zero delta attributable to this PR. The change is a label/table lookup — no CUDA, kernel, scheduler or execution code — so throughput A/B is not applicable either.

Pre-existing, NOT this PR's fault, but relevant to any future cn5 run: 0x2bbc appears only in Orbit's private table (orbit/gpu.rs:317) and NOT in GB202_DEVICES (naming.rs:21-23). If cn5's Max-Q cards report 0x2bbc, flare detection refuses them at flare/src/hardware.rs:95-100 with "unsupported PCI ID ... specify --revision" for reasons unrelated to #502. Run flare hardware-revision 1 first so a pre-existing failure is not misattributed to this PR.

#6 [medium] CONFIRMED nits: stale 4-name platform enumerations in help/docs

Verified by reading each site. PLATFORMS grows to 5 (naming.rs:15) but hand-written 4-name enumerations remain: