Correctness report · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/92a1f55b-d039-48e5-9d87-7c7ad9f512f8.md

Review of PR #469 — "Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier"

Head 62a3726, base main, 9 files, +90/−46. Lens: correctness — does the change work everywhere it reaches.

Key findings


Should fix

F1. -tp1 alias retry documented for three platforms, implemented for four

F2. Docs promise gb203 selection; nothing publishes it, so the failure moves from detection to Hub fetch


Nit

N1. flare-cli/src/distribution.rs:66 — stale platform enumeration

/// Physical device platform name from hardware detection (gb202/gb10). The field is validated against the five-name naming::PLATFORMS set at distribution.rs:159 and :720, so the parenthetical now omits ga102, gb203, and gb300. Pre-existing, not introduced by this diff, but the PR updates the same enumeration everywhere else (flare-cli/src/cli.rs:202-203, docs/cli-design.md:888,926, docs/core-format-design.md:753-754, docs/orbit.md:321) and missed it. Fix: say "a PLATFORMS name" instead of listing names, or list all five.


Verified fixed since the previous review (blockers, now sound)

  1. Orbit core-side revision (was blocking). flare-cli/src/orbit/controller.rs:2293-2298 reads authorized.identity().map(|identity| identity.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 hardware when flare_helios::core::naming::PLATFORMS.contains(hardware), else capability_revision(major, minor). The hardware string is the signed CoreBody.hardware_identity (helios/src/runtime_core/protection.rs:2618-2630 identity_parts; helios/src/runtime_core/model.rs:1441-1458 AuthorizedCore::identity; written at heliopause/src/export/core.rs:656-664,716 from the ranks' captured platform). Legacy cores record hardware: String::new() (helios/src/runtime_core/model.rs:1426-1436), so the capability fallback remains exactly for them, as documented at orbit/gpu.rs:240-242 and orbit/plan.rs:38-40. A gb203 core therefore requires gb203, matching the agent's report at orbit/gpu.rs:314-318, and the placement compare is an exact string match at orbit/plan.rs:693-696.
  2. GA102 agreement (was blocking). flare-cli/src/orbit/gpu.rs:235 maps (8,6) → "ga102", agreeing with GA102_DEVICES → "ga102" at helios/src/core/naming.rs:58-59 and with what export records. Host and core resolve through the same values, so GA102 placement is preserved (tests orbit/gpu.rs:368-371, :378, :381).
  3. CI fixture. flare/src/catalog.rs:561-564 includes {"name": "gb203-tp1"}, required by published_build_match_uses_all_platform_branches (catalog.rs:549-569), which loops naming::PLATFORMS as both target and published platform.
  4. Earlier nits all addressed. flare-cli/src/cli.rs:202-203 --revision help lists five names; orbit/gpu.rs:38-40, :222-229 and orbit/plan.rs:38-40 describe the revision space without a stale enumeration; the "single source" comment now sits on platform_from_pci (helios/src/core/naming.rs:39-43); the naming test asserts 0x2c31 literally (naming.rs:209-216); revision() at orbit/gpu.rs:314-318 delegates to capability_revision instead of duplicating its match.

Soundness checks that turned up nothing


Open questions / not exercised

  1. flare orbit run against a real gb203 core is unexercised. Only core_revision unit tests (flare-cli/src/orbit/gpu.rs:374-383) cover the new placement input; the PR states Orbit placement has not been run against a cluster. A test that feeds a synthetic core whose hardware_identity is gb203 through describe() and asserts the CoreNeeds.revision would close this.
  2. No gb203 revision exists anywhere, so the end-to-end flare run ORG/MODEL path on this card is only reachable with --revision gb202 or a locally published core. F2 covers the documentation side; the merge-order dependency is otherwise correct behaviour.
  3. No CI checks reported on head 62a3726. The PR's quoted suites (helios 1626, flare 228, flare-cli 199) plus its note that orbit::plan::tests::multi_host_prefers_cached_ranks_and_the_source_for_rank_zero is order-dependent (fails intermittently, also on the base commit) are the only evidence; I could not reproduce the run here.
  4. Only 0x2c31 hardware was exercised by the author; the other identifiers in these tables (including 0x2bbc and four of the five GB10 ids that the CLI-local table had dropped) are unverified against real devices. The table contents come from NVIDIA's PCI id list, so this is a coverage limitation, not a finding.