PR #469 — Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier
Head fb784c9 (9 files, +84/−56), base main. Reviewed against the project charter, AGENTS.md and docs/design-review.md (not opened). Every claim below was re-read in the code at this head; nothing is taken from the author's replies.
Key findings
- No blockers. The change is correct, at the right layer, and is a net simplification: it deletes Orbit's drifted private PCI table (−16 lines) in favour of
helios/src/core/naming.rs::platform_from_pci, so device detection, export naming and the agent's reported revision read one table (naming.rs:39-43). A separate revision is justified by a real artifact mechanism, not taste: the forward-cache key folds device name and SM count (ignition/preparation/aot.py:746-749(not opened),compilation.py:293-295(not opened)), so a GB202-compiled forward must not reach a GB203 host. - Everything from the earlier rounds is fixed at this head, verified in code: placement takes a core's requirement from its signed identity (
orbit/controller.rs:2293-2295→orbit/gpu.rs:237-242, compared exactly atplan.rs:693-696); the identity read propagates errors instead of defaulting;docs/cli-design.md:902-907states the-tp1rule; the one-elementGB203_DEVICEStest loop and the standalone GA102 test are gone; the catalog fixture no longer hardcodes per-platform names. - Three should-fix items remain, all small: the
(8, 6) => "ga102"arm atorbit/gpu.rs:229mislabels unlisted SM 8.6 dies and is removable; Orbit's merge-order limitation (a GB203 GPU cannot place agb202core until agb203revision is published, because--revisionselects the Hub branch only) is undocumented and has nodocs/TODO.txtentry; and the description's Evidence section still describes62a3726, citing code this commit deleted. - Subtraction: ~17 of the +84 added lines are removable (non-discriminating test asserts, a 4-line doc paragraph on a one-entry const, three platform name lists that every platform PR must edit), with no behaviour or asserted coverage lost.
Blockers
None.
Should fix
1. flare-cli/src/orbit/gpu.rs:229 — (8, 6) => "ga102" names an unlisted die a platform the rest of Flare refuses. Fix by deletion.
- Finding.
capability_revisionis now documented and reachable only for devices the PCI table does not list and for cores that record no identity (gpu.rs:222-223; callers at:241and:311). Compute capability 8.6 spans GA102/103/104/106/107.GA102_DEVICESlists six GA102 products (naming.rs:32-34), andnaming.rs:218assertsplatform_from_pci(0x2484_10de) == None— GA104 is excluded on purpose, per #300's "GA104 and GA106 are not included". With this arm, an unlisted 8.6 card (e.g. an RTX 3060) reportsga102in STATUS and on the dashboard, and — because placement compares strings (plan.rs:693-696) — becomes a candidate for a core whose identity isga102, whileflare/src/hardware.rs:95-100aborts the same card ("unsupported PCI ID") and export refuses it atheliopause/src/export/capture.rs:2161-2167. That is the "agent names a platform, detection refuses the card" divergence this PR removes elsewhere, reintroduced one capability over. - Requested change: delete
(8, 6) => "ga102".into(),at:229and its assert at:370. Nothing needs the arm for its stated purpose: all six GA102 ids resolve from the table (naming.rs:58-59), and no identity-less GA102 core can exist because export aborted on GA102 before #300 added the table. Listed GA102 hosts keep reportingga102, so the description's "GA102 devices reportga102instead ofsm86" still holds; only the sentence crediting the compute-capability mapping has to go. Removing the arm restores pre-PRsm86for unlisted 8.6 parts, and keeps one rule — the table names devices, capability is only the legacy/unlisted fallback — which is the same rule #502 (gb206) needs for the analogous(12, 0) => "gb202"arm. - Why this and not the split conventions proposed. The conventions lens suggested keeping the 8.6 mapping but moving it into
core_revision's fallback; that is extra code for a case that cannot arise (every GA102 core carries identityga102). Deletion achieves the same result in two fewer lines.
2. Orbit's merge-order limitation is undocumented, and --revision cannot work around it.
- Finding. The agent now reports
gb203for0x2c31(gpu.rs:308-312→naming.rs:49-51). Placement compares the core's required revision with that string exactly (plan.rs:693-696, "gpu N NAME is X, not REVISION"). A core's requirement comes from its signed identity (controller.rs:2295→gpu.rs:237-242), and every published core recordsgb202; legacy cores fall back tocapability_revision(12,0) == "gb202"(:369) anyway. Orbit's--revisiononly picks the Hub branch (controller.rs:2210-2233, used bydownload_request), never the placement revision. So on the card this PR was tested with, no existing core can be placed in Orbit, andflare orbit run … --revision gb202does not help. Forflare runthe loader's architecture check does pass (it compares only compute-capability attributes 75/76, shared by GB202 and GB203:helios/src/runtime_core/mod.rs:342-351), which is why the PR's merge-order note reads as if the override covers everything. - Requested change (documentation, no code):
docs/cli-design.md:886-893, which now advertisesgb203selection: no repository publishes agb203revision yet, so automatic selection requests a branch that does not exist until one is published;--revision gb202works forflare run/download.docs/orbit.md:214-217(revision inference): Orbit's--revisionselects the Hub branch only; placement still requires the GPU's reported revision to equal the core's, so a GB203 GPU cannot place agb202core until agb203revision is published.docs/TODO.txt: record the publishing dependency, perAGENTS.md:52-58. Nogb203entry exists today.
- Why. This is sequencing and prose, not a code defect — and explicitly not a silent
gb203 → gb202fallback inhub.rs: forward artifacts are keyed by device name and SM count (ignition/preparation/aot.py:746-749(not opened),compilation.py:293-295(not opened)), so such a fallback would ship GB202-prepared graphs to a GB203 host, the outcome this PR exists to prevent and the kind of silent substitutionAGENTS.md:182-186rejects. The explicit--revision gb202override is the right shape.
3. The description's Evidence section still describes 62a3726, not the commit under review.
- Finding. Four statements are false at
fb784c9:- "
pci_ids_select_the_platform_identifierasserts0x2c31literally as well as throughGB203_DEVICES" — the loop was deliberately deleted;GB203_DEVICESappears only atnaming.rs:27(declaration) and:49(use), never in a test.naming.rs:209is the whole assertion. - "
ga102_pci_ids_report_the_platform_the_table_namescovers the GA102 change" — that test no longer exists; its assertion moved intopci_ids_select_the_revision_before_compute_capability(gpu.rs:348), alongside the GB203 line at:347. flare-cli"199 passed" — the author's own reply for this commit says 198, exactly the deleted test; thehelios1626 figure predates the deletions too.- "
published_build_match_uses_all_platform_branches… the fixture now includesgb203-tp1" — the loop derives each branch name itself (catalog.rs:550-561);gb203-tp1is a separate block at:562-573.
- "
- Requested change. Re-quote at
fb784c9: "pci_ids_select_the_platform_identifierasserts0x2c31literally (naming.rs:209), andpci_ids_select_the_revision_before_compute_capabilitycovers the GB203 and GA102 delegations (orbit/gpu.rs:347-348)"; stateflare-cli198 /flare228 /helios naming6 and say plainly that the fullheliosrun was taken at the previous head; describe the catalog test as "derives each branch name fromPLATFORMS(:550-561) and keeps a separategb202/gb203-tp1case (:562-573)". - Why.
AGENTS.md:103-112requires each material claim to name the check actually run and says test counts cannot stand in for the tested contract;docs/design-review.md:172-177(not opened) requires the description to match the work performed. As written, the evidence for both behavioural claims points at code the same commit deleted, so a reviewer cannot tell whether the claims were re-verified after the simplification pass.
Subtract / Simplify
Could remove ~17 of the +84 added lines (15 below, plus the 2-line SM86 arm counted under Should fix). No production behaviour and no asserted coverage is lost.
flare/src/catalog.rs:562-573— ~6 lines. Keep only what discriminates.:569-571(select_revision(&["gb202","gb203-tp1"], Some("gb202")) == "gb202") is an exactBTreeSethit, true through any implementation ofbranch_platform, and:573duplicates:540and:565. What cannot be replaced is:564-568: with a prefix-colliding pair, a brokenbranch_platformmakesselect_revisionfall back tobranches.iter().next() == "gb202", so agb203host would receive thegb202core. Keep those four lines, cut:569-573, and shorten the two-line comment at:562-563to one. (The author's reason for keeping a case at all is sound and verified — thePLATFORMSloop at:550-561assertsbuild_target_match, neverselect_revisionon a colliding pair — so only the non-discriminating asserts are requested for removal.)helios/src/core/naming.rs:23-26— 4 lines. A one-line doc to match every sibling (:17,:29-30,:32-34,:36). The die-versus-product argument ("fewer streaming multiprocessors … shares compute capability 12.0") restates the description's Why section and belongs there or at the(12, 0)arm where the ambiguity bites.flare-cli/src/orbit/gpu.rs:366and:371— 2 lines.core_revision("gb202", 12, 0)equalscapability_revision(12, 0), so it passes even if identity precedence were removed;core_revision("sm120", 9, 0)pairs a hardware string no producer writes (platform_from_pci's value orunknown-device) with an architecture that is not SM120's, and the non-PLATFORMSfallback is already pinned by:369. Seven asserts become five; the test still covers identity-beats-fallback (:365), the legacy fallback (:369-370) and thePLATFORMS-membership path.- Platform name lists that every platform PR must edit — 3 lines.
flare-cli/src/cli.rs:202-203to one line ("Hub revision; uses the model origin when cached, otherwise detects the GPU's platform"); drop the parenthetical(`gb10`, `gb202`, `gb203`, `gb300`)atdocs/cli-design.md:904-905(the rule alone is whathub.rs:3148-3149implements); drop the five-name list atdocs/orbit.md:321. A fifth name arrived with this PR and a sixth with #502.
Nothing else is waste. Specifically checked and not requested for removal: GB203_DEVICES as a named one-entry table (consistent with its four siblings, and the one-element test loop is already gone); core_revision cannot be inlined (describe needs the legacy fallback, revision does not); capability_revision has two callers, so it is not a single-use wrapper; flare/src/hardware.rs:18-21 already delegated to platform_from_pci and has no branch to delete; no stale fn platform table remains in flare-cli; no Needs.revision consumer went dead (plan.rs:272, 284, 358, 503, 544, 693 all still read it).
Nits
docs/orbit.md:321-324— the inserted sentence leaves a ~94-column line and splits a compound into three fragments ("memory total and free, / and utilization, memory-controller / utilization") in a paragraph wrapped at ~80. Rewrap to the document width and keep the clause whole.docs/orbit.md:322— "sm{major}{minor}for a compute capability that names no platform" is not what the code does:capability_revisionstill returnsgb10/gb202/gb300/ga102for unlisted devices with those capabilities (gpu.rs:224-232). Say "from the PCI device id or compute capability" — accurate and shorter. Same inaccuracy inflare-cli/src/orbit/gpu.rs:38-39andorbit/plan.rs:38-39("aPLATFORMSname").docs/cli-design.md:888-892— reflow; the five-name edit left alternating long and short lines.docs/cli-design.md:904— "For a detected platform revision" excludes cases the code does retry: the gate readsrepo.revision()(hub.rs:3144), which is also set from--revision/ the@revisionsuffix (hub.rs:335-340). Drop "detected", or say "detected or given explicitly".flare-cli/src/orbit/gpu.rs:224—capability_revisionispubbut has only intra-crate callers (:241,:311);core_revisionneeds the keyword, this does not. Drop it (one keyword).helios/src/core/naming.rs:22— the table doc names one product where:32-34lists a product set and:17lists none; either list the recognized GB203 products or drop the name, otherwise a future id added to the array silently contradicts the doc.- Description prose (one combined item):
orbit/gpu.rsandorbit/plan.rsare listed among files that "now list five" platform names, but both were rewritten to enumerate none; and "the two environment preparations CI performs" does not match the workflow — a 64 MiB memlock limit, not infinity, and six recipes that never fetchminimax_m3, as the author already conceded on 2026-11-24. TheDiscord:line is present and correctly written without@; nothing else in the description or comments was outstanding.
Verified clean (not findings)
GB203_DEVICES = [0x2c31](naming.rs:27) is disjoint from the other four tables; the membership check sits first inplatform_from_pci(:49-51); ordering it ahead ofgb10is inert.PLATFORMSgrowing 4 → 5 is safe for every consumer (naming.rs:82,124,flare/src/hub.rs:2507,2524,2997,3149,flare/src/catalog.rs:271-280,313,320,flare-cli/src/distribution.rs:159 (not opened),720,heliopause/src/export/conversion.rs:402(not opened)) — each filters toNone/empty or compares equal strings; none indexes by length or enumerates the array.- Existing artifacts stay valid: core names come from signed identity (
naming.rs:113-136); cores without one getunknown-device; the native loader's capability check (attributes 75/76) is unchanged. 0x2bbclosing its private Orbit entry changes nothing:flare's detection already refused it and still does; Orbit still reachesgb202through the capability fallback. Mixed-platform selections are still rejected (flare/src/hardware.rs:101-107).describestill rejects mixed architectures and now propagates an unreadable identity (controller.rs:2293,map_err(|e| e.to_string())?) instead of treating it as legacy, matchingflare-cli/src/distribution.rs:157(not opened).- Placement now reads the core's signed identity, so a
gb203core requiresgb203and aga102core requiresga102; legacy cores withhardware: String::new()(helios/src/runtime_core/model.rs:1426-1428) keep the capability fallback — the permissible single legacy path. - Charter fit: one table entry, one helper, one deleted duplicate. No per-model branch, flag, backend abstraction or configuration switch. GB203 is an SM120 workstation die, in matrix; precedent #300 (GA102), #129/#529 (GB300). Refactoring is permitted by
AGENTS.md:188-193because it directly enables the behaviour and removes a documented source of divergence. - Evidence framing is right: throughput is presented as an expected non-change against a same-base control, not a win; the order-dependent
flare-clitest is disclosed and attributed, including that it also passes/fails the same way on base.
Open questions and limits of this review
- No GB203 hardware was available; only the author's
0x2c31run is evidence. The other identifiers in these tables (four GB10 ids the deleted Orbit copy omitted, the eight additional GB202 ids,0x31c3) are proven only by unit asserts — "the two tables now agree" is verified by construction. - No CI checks are reported on
fb784c9, so the quoted suite runs are the only test evidence — which is why should-fix 3 matters. - Orbit placement has unit coverage only (
gpu.rs:362-372); there is nodescribe/planfixture with agb203core and agb203GpuStatus. That fixture would also settle should-fix 2 and is worth adding when agb203revision is published; it is not requested here. - Commit-message bodies were not inspected (
docs/design-review.md:172-177(not opened) requires them to pass the same four-part review). - Whether any Hub repository publishes an
sm86revision that GA102 hosts select today was not checked; if one exists, the GA102 relabel is a download-path break rather than only a label change, and the description's "their cores place as before" would need a caveat. - No PR body or comment attempted to direct agent behaviour.