Correctness report · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/a446ea8f-a360-41e7-aa4b-cef5e6101592.md

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

Head fb784c9, base main, 9 files, +84/−56. Lens: correctness — does the change work everywhere it reaches (callers, configurations, error handling, edge paths, compatibility with existing artifacts).

Key findings

Verdict: should-fix issues only. No blocking findings.

The central change is sound. GB203_DEVICES = [0x2c31] is a genuinely separate die from GB202 that shares compute capability 12.0, the table is consulted before any capability fallback in every detection path, and core_revision makes a core's requirement its own signed device identity rather than the rank architecture — which is precisely what stops a GB203 host from matching a GB202-prepared core. Existing cores remain loadable because the native loader checks only CUDA compute-capability attributes 75/76, which GB202 and GB203 share. Every PLATFORMS consumer (naming candidate/deployment candidate, conversion, distribution, hub, catalog) applies the widened five-name set consistently.

Two things do not work everywhere the change reaches:

  1. Orbit ignores --revision for placement, so on the one card this PR was tested on, no existing core can be placed in a cluster — including through the interim override the PR offers. (Should fix)
  2. Documentation advertises gb203 selection that cannot succeed yet, and neither interim remedy is stated. (Should fix)

Both are closed by documentation plus a docs/TODO.txt entry; neither calls for a silent gb202 fallback, which would reintroduce the cross-die download the PR exists to prevent.

Previously reported items (fixed earlier in this PR, re-verified in the code and not re-raised): the stale -tp1 alias name list, and describe() swallowing an unreadable identity.


Should fix

F1 — Orbit ignores --revision for placement, so a GB203 host cannot place any existing gb202 core

Where: flare-cli/src/orbit/controller.rs:2210-2233, :2293-2295; flare-cli/src/orbit/plan.rs:693-696; flare-cli/src/orbit/gpu.rs:308-312, 237-242.

What is wrong. Orbit's --revision is consumed only as the Hub branch. repository_revision (controller.rs:2210-2233) returns the explicit revision or infers one from candidate GPU statuses, and that value is passed to download_request (controller.rs:280-317) and printed on the DOWNLOAD line. Placement's revision is a separate value: describe takes it from the core, revision: super::gpu::core_revision(&hardware, …) (controller.rs:2295), where hardware is the signed CoreBody.hardware_identity (controller.rs:2293). It is then compared for exact string equality against the agent-reported GPU revision in unfit (plan.rs:693-696, "gpu N NAME is X, not REVISION").

Why it matters. The agent now reports gb203 for 0x2c31 (orbit/gpu.rs:308-312 → helios/src/core/naming.rs:49-51). Every core published so far records gb202. So a GB203 card cannot place any of them, and flare orbit run ORG/MODEL --revision gb202 fails with a placement mismatch rather than helping. Legacy cores are no better off: core_revision("", 12, 0) falls through to capability_revision(12, 0) = gb202 (orbit/gpu.rs:237-242, 227). This matters because the PR's own merge-order note offers --revision gb202 as the interim remedy, and in Orbit there is no remedy at all until a gb203 build is published. It is a regression in reach caused by exactly the table unification the PR claims as a benefit: before this PR 0x2c31 had no table entry and the agent's capability fallback reported gb202, so placement worked.

Counter-check, before filing: flare run is unaffected — its loader compares only compute-capability attributes (helios/src/runtime_core/mod.rs:342-351), shared by GB202 and GB203, so --revision gb202 genuinely passes there. The gap is Orbit-specific.

Fix. Documentation, not code — a silent gb202 fallback in hub.rs would let a GB203 host download cores prepared on the other die, which is the outcome this PR exists to prevent. State in docs/cli-design.md:902-907 and docs/orbit.md:214-217 that --revision selects the Hub branch only and does not override placement, and that a GB203 GPU cannot place a gb202 core in Orbit until a gb203 revision is published. Record the publishing dependency in docs/TODO.txt per AGENTS.md:52-58.

What would settle it: an Orbit placement test whose statuses carry gb203 and whose core identity is gb202, asserting the revision mismatch. No such test exists; the only coverage of the new placement input is core_revision's unit test (orbit/gpu.rs:363-372).

F2 — Docs promise gb203 selection while no gb203 revision is published, and the interim override is unqualified

Where: docs/cli-design.md:888-893; flare/src/hub.rs:336-339; flare/src/hardware.rs:95-100.

What is wrong. The rewritten paragraph says "known GB203 devices, including RTX PRO 4500 Blackwell, select gb203". Detection does return gb203 (helios/src/core/naming.rs:49-51, orbit/gpu.rs:308-312, flare/src/hardware.rs:18-21), but flare/src/hub.rs:336-339 uses crate::hardware::detect(gpu_count.max(1)) verbatim with no branch-existence fallback, and the PR description concedes that no repository publishes a gb203 revision. A reader following the docs therefore hits a Hub missing-revision error where the old code gave the actionable "unsupported PCI ID … specify --revision" (hardware.rs:95-100). The --revision gb202 remedy exists only in the PR description, and per F1 it does not cover Orbit.

Fix. One sentence at docs/cli-design.md:888-893: no repository publishes a gb203 revision yet; flare run/download accept --revision gb202 for cores prepared on GB202; Orbit placement still requires the GPU's reported revision to equal the core's, so a GB203 GPU cannot place a gb202 core. Add the publishing dependency to docs/TODO.txt (AGENTS.md:52-58). Do not add a silent fallback in hub.rs.


Nits

N1 — capability_revision(8, 6) => "ga102" labels every unlisted SM86 die as ga102

flare-cli/src/orbit/gpu.rs:229. That arm runs for any SM86 device the PCI table does not list (orbit/gpu.rs:308-312). Most SM86 dies are GA104/GA106/GA107 (e.g. 0x2484, which helios/src/core/naming.rs:218 asserts resolves to None), so such a card now reports ga102 in STATUS and dashboards (orbit/gpu.rs:38-40, orbit/dashboard.rs:651 (not opened)) instead of sm86. Display-only: host and core resolve through the same function so placement stays self-consistent, and cache/hub names come from signed identity (naming.rs:113-136), so no artifact or decision changes — the label just becomes a false statement about which die is installed. No change needed for this PR (the GA102 arm is required for GA102 cores to match GA102 hosts); if tightened later, the table-miss path could keep sm{major}{minor} for capabilities whose ids the table knows but does not map.

N2 — stale platform list in a doc comment (pre-existing)

flare-cli/src/distribution.rs:66 still says "(gb202/gb10)" while the field is validated against the five-name PLATFORMS set (distribution.rs:159, 720). Not introduced here; the same class of staleness this PR fixed elsewhere.


Verified as correct (no finding)

Open questions and what could not be found