PR #469 — Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier
Review lens: architecture and scope — does the change belong in the repository, and is the approach right? Judged against the charter, AGENTS.md, docs/design-review.md and the surrounding code at head fb784c9. Other lenses (performance, correctness of the runtime path, prose detail) are covered by other reviewers.
Key findings
- No blocking and no should-fix issues. The change belongs, is at the right layer, and the refactoring it performs is one
AGENTS.mdexplicitly permits. - Two nits: a "detected" narrowing in
docs/cli-design.md:904that the code does not implement, and a compute-capability-8.6 →ga102fallback atflare-cli/src/orbit/gpu.rs:229that labels an unlisted GA10x die with GA102's platform name. - One merge-order note, not a defect: on
0x2c31,flare run ORG/MODELnow asks the Hub forgb203/gb203-tp1and fails until agb203build is published. The author discloses it; the right handling is ordering, not a silent fallback. - Everything I raised in earlier passes (the
-tp1sentence, the swallowed identity error, the stale four-name enumerations) is fixed in the code under review, verified by reading, not from the reply.
Scope and layer — the change belongs
One table, three consumers, duplicate deleted. helios/src/core/naming.rs:39-43 now states the invariant: "These tables are the single source consumed by Flare's device detection, by core export naming, and by the agent's reported revision; do not duplicate the identifiers elsewhere." GB203_DEVICES = [0x2c31] at naming.rs:22-27, consulted by platform_from_pci at naming.rs:44-62; PLATFORMS gains gb203 at naming.rs:15. The private PCI copy that had drifted in both directions in flare-cli/src/orbit/gpu.rs is gone. AGENTS.md:188-193 says "Refactoring must directly support the requested behavior or remove a demonstrated source of defects or cost" — this does both: it is the only way a 10de:2c31 host can export at all (heliopause/src/export/capture.rs:2161-2167 turns a None from platform_from_pci into a hard error), and it deletes a divergence the description documents (four GB10 ids missing, 0x2bbc listed that GB202_DEVICES does not contain).
A separate revision is justified by an artifact mechanism, not taste. That is the question this lens must answer, and the answer is checkable in the code: ignition/preparation/aot.py:746-749 folds properties.name, major, minor and properties.multi_processor_count into the forward cache key, and ignition/preparation/compilation.py:293-295 folds get_device_capability() and get_device_name(). A GB202 forward (188 SM, "RTX PRO 6000 Blackwell") and a GB203 forward (82 SM, "RTX PRO 4500 Blackwell") are therefore different compiled artifacts, so sharing one revision would ship a GB202-compiled forward to a GB203 host. docs/core-format-design.md:104-116 states the same rule for the format: device identity comes from the target hardware, never from an SM-version guess. This satisfies AGENTS.md:194-199 and docs/design-review.md principle 12 ("Validate the real path and report evidence honestly", lines 97-105) for the correctness claim the PR makes.
Charter fit. The charter's "Stay focused … not interested in … broad hardware support" is honoured: this is a device identifier added to an existing table plus the removal of a duplicate, not a new backend, backend abstraction or flag. It lets a card the project already targets at SM120 export and run. Precedent: #300 (GA102) and #129/#529 (GB300) merged the same way.
No new special cases, flags or layers. No per-model branch, no captured-graph op, no configuration switch: docs/design-review.md principles 1, 3, 10 and 15 are not engaged. PLATFORMS growing 4 → 5 is safe because every consumer is a containment or prefix test and none indexes by length (flare/src/hub.rs:2507,2524,2997,3149; flare/src/catalog.rs:271-280,292-303,319-322; flare-cli/src/distribution.rs:159,720; heliopause/src/export/conversion.rs:401-402 (not opened); flare-cli/src/orbit/gpu.rs:237-242). I searched for any other branch on the literal "gb202" and found table, doc and test occurrences only.
Layers stay in their roles. Placement now reads the core's own signed identity rather than a rank-architecture guess: describe() at flare-cli/src/orbit/controller.rs:2293-2295 takes authorized.identity()?.hardware (with the error propagated, map_err(|e| e.to_string())? — no unwrap_or_default) and passes it to core_revision (flare-cli/src/orbit/gpu.rs:237-242), which prefers the platform name from PLATFORMS and falls back to capability_revision only for legacy cores that record no identity (helios/src/runtime_core/model.rs:1399-1437 gives them hardware: String::new() by design). The capability fallback survives only in its narrowed, documented role (gpu.rs:222-232), which is the legacy-compatibility path docs/design-review.md principle 13 permits — a single legacy path, not a second mapping of the same hardware.
Evidence. The description distinguishes measurement from expectation, states its limits, and reports the throughput numbers as an expected non-change rather than a win — the correct framing for a naming change and what principle 12 requires. Tests cover the new claims where it matters: helios/src/core/naming.rs:209 asserts 0x2c31 literally (covering the weakness yatesdr flagged on #221 that a loop over the table passes even if the id is removed), flare-cli/src/orbit/gpu.rs:341-349 asserts revision(0x2c3110de, 12, 0) == "gb203", and flare/src/catalog.rs:562-573 adds a gb203-tp1 branch fixture so published_build_match_uses_all_platform_branches iterates all five PLATFORMS.
Fixed since my previous pass (verified in code)
docs/cli-design.md:904-907replaced the three-name enumeration with the rule and saysga102is not retried.flare-cli/src/orbit/controller.rs:2293now propagates an identity read error instead of defaulting it, matchingflare-cli/src/distribution.rs:157.- Stale platform enumerations removed from
gpu.rs:38-39,gpu.rs:222-223,plan.rs:38-39,cli.rs:202-203, and fromdocs/cli-design.md:888,904,927,docs/core-format-design.md:753,docs/orbit.md:321; all now consistent with the five-namePLATFORMSatnaming.rs:15. - Simplified as recommended:
capability_revision's doc comment is one line, theGB203_DEVICESloop was replaced by the literal assertion (naming.rs:209), and the GA102 test was folded intopci_ids_select_the_revision_before_compute_capability(gpu.rs:341-349). Thecatalog.rsfixture stayed in reduced form with a stated reason, and it is genuine coverage the neighbouring test lacks (catalog.rs:526-547usesgb202,gb10,gb202-tp8, none of which share a prefix with a second platform).
Findings
Nit 1 — docs/cli-design.md:904 says "detected", but the -tp1 retry is revision-shaped
docs/cli-design.md:904-907 reads: "For a detected platform revision that begins gb (gb10, gb202, gb203, gb300), the shared CLI and desktop downloader tries the corresponding -tp1 revision if the initial revision lookup returns HTTP 404; ga102 is not retried."
The code does not distinguish how the revision was chosen. resolve_revision (flare/src/hub.rs:3138-3158) tests revision = repo.revision() at :3144 and then revision.starts_with("gb") && PLATFORMS.contains(&revision) at :3148-3149, with no reference to origin. That revision is set at flare/src/hub.rs:335-340 from options.revision (explicit --revision), from the @revision suffix, or from crate::hardware::detect(...). So flare run ORG/MODEL@gb203 and --revision gb203 also get the retry.
Why it matters: the same paragraph at :902 establishes --revision as an override of detection, so "detected" reads as an exclusion of exactly the case that also works. This is the prose-accuracy rule of docs/design-review.md principle 16 (lines 137-151: "Reject unexplained references and unsupported claims in all changed prose") and the repo-prose skill it points at: describe the behaviour as it is.
Fix: drop "detected", or write "For a platform revision that begins gb … — detected or given explicitly —". Nit, not should-fix: no runtime consequence.
Nit 2 — flare-cli/src/orbit/gpu.rs:229 (8, 6) => "ga102" names a die for cards the table deliberately excludes
GA102_DEVICES (helios/src/core/naming.rs:32-34) lists six ids (RTX 3090 Ti, 3090, 3080, 3080 Ti, 3080 12 GB, 3080 LHR) and #300 records "GA104 and GA106 are not included." Compute capability 8.6 spans GA102/103/104/106/107. revision() (flare-cli/src/orbit/gpu.rs:308-312) falls back to capability_revision whenever platform_from_pci returns None, so an unlisted 8.6 card — an RTX 3060, GA106 — now reports ga102, a platform name the table attributes to another die, and repository_revision (controller.rs:2210-2233) will ask the Hub for the ga102 revision on its behalf. This is the last device→platform mapping living outside naming.rs, and it repeats the die/capability conflation the PR separates for gb202/gb203 (naming.rs:22-27 argues that conflation is exactly what a separate variant exists to avoid).
Why it is a nit and not a should-fix: it changes the label, not who places with whom. Before the PR, an unlisted 8.6 host reported sm86 and a legacy core required sm86; after it, the host (gpu.rs:311) and the legacy core (gpu.rs:237-242) both go through the same capability_revision, so they still match. The fallback is documented as belonging to unlisted devices and legacy cores (gpu.rs:222-223). The alternative — report sm86 for unlisted 8.6 hosts — would break GA102 placement, which is the change's goal, so the author's choice is the coherent one. Recording it as a nit so the die/capability conflation is not lost track of if a GA10x variant ever gets a revision.
Merge-order note (not a code defect)
flare/src/hub.rs:338 calls crate::hardware::detect with no fallback, and flare/src/hardware.rs:18-21 is a straight delegation to platform_from_pci, so flare/src/hardware.rs:95-100 now returns gb203 for 0x2c31. With no gb203 revision published anywhere, flare run ORG/MODEL on this card goes gb203 → gb203-tp1 (hub.rs:3144-3152) → the Hub's missing-revision error. The description discloses this and names --revision gb202 as the override; what remains is sequencing — land this with or after a published gb203 build.
Do not add a silent gb203 → gb202 fallback to smooth it: that reintroduces precisely the forward-artifact mismatch this PR exists to prevent (the cache keys at ignition/preparation/aot.py:746-749 and compilation.py:293-295 differ by SM count and device name), and it is the "silently substitute execution paths" that AGENTS.md:182-186 rejects. The explicit --revision gb202 override is the right shape.
Checked, not findings
describe()still rejects mixed architectures (controller.rs:2281-2286) and takes the revision from the signed identity viacore_revision; a core whosedevice_identityis"none"recordsunknown-device(heliopause/src/export/core.rs:653-664), which is not inPLATFORMS, so it falls back to architecture capability exactly as intended.- Legacy cores carry
hardware: String::new(), whichcore_revisiontreats as legacy — the compatibility path of principle 13, preserved (docs/design-review.md:106-113). 0x2bbclosing its private-table entry changes nothing: capability 12.0 →gb202(gpu.rs:227);flare's own detection already refused it and still does.naming.rs:47-49ordering (GB203 first) is harmless: membership in the five tables is disjoint.flare/src/hardware.rs:390-401still exercises only gb10/gb202/gb300 ids, but the new ids reach it throughnaming.rs, whose test asserts0x2c31literally.- The Discord contact line is present, satisfying
docs/design-review.mdprinciple 17.
Limits of this review
No GB203 hardware was available here; only 0x2c31 was exercised by the author, and the other identifiers in these tables are untested by anyone. Orbit placement is unit-tested only and has never been run against a cluster — multi_host_prefers_cached_ranks_and_the_source_for_rank_zero is acknowledged as order-dependent and pre-existing on the base commit. No CI checks are reported on fb784c9, so the author's cargo test runs (flare 228, flare-cli 198, helios naming) are the only suite-level evidence; the helios run additionally needs the two environment preparations CI performs. The throughput figures are equal to the same-base control and are correctly presented as an expected non-change, not a measured gain.