Architecture report · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/3bd0f95b-35e1-41a0-bb60-b06ba376fb25.md

PR #469 — "Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier" — Architecture and scope review (head 62a3726)

Key findings

Scope: does this belong?

Yes. AGENTS.md:192 allows refactoring when it "directly support[s] the requested behavior or remove[s] a demonstrated source of defects or cost". Both halves are met:

This is not the "broad hardware support" the charter discourages (charter line 10). It is one well-defined workstation SKU already named in the supported SM120 family, following the precedent of #300 (GA102) and #129 (GB300); #502 (GB206) is the same shape of change.

Is a separate gb203 revision justified?

Yes, and the justification is checkable rather than an assertion. The platform string selects a prepared core (flare/src/hub.rs, docs/cli-design.md), and the compiled artifact is device-dependent: ignition/preparation/aot.py:749 (not opened) folds device name, major, minor and multi_processor_count into the forward cache key, and ignition/preparation/compilation.py:295 (not opened) folds capability and device name. A 188-SM GB202 forward and an 82-SM GB203 forward are therefore different compiled artifacts, so a shared gb202 revision would ship GB202-compiled forwards to GB203 hosts. That satisfies the charter's evidence requirement for a correctness claim.

The author also frames the throughput measurement correctly: equal throughput is reported as an expected non-change for a naming change, not as a win (pp 8 813 / tg 111.6 vs 8 801 / 112.5 on the previous base), and the larger difference against the older base is attributed to upstream. That is the right handling of "measured evidence" — no performance claim is being made from it.

Layer and design principles

Findings

NIT — docs/cli-design.md:904 enumerates the -tp1 retry platforms and the list is now wrong

"For gb10, gb202, and gb300, the shared CLI and desktop downloader tries the corresponding -tp1 revision if the initial revision lookup returns HTTP 404."

The code (flare/src/hub.rs:3144-3157) applies that retry to every PLATFORMS name beginning gb:

Err(ApiError::RequestError(error))
    if matches!(error.as_ref(), ureq::Error::StatusCode(404))
        && revision.starts_with("gb")
        && flare_helios::core::naming::PLATFORMS.contains(&revision) =>

gb203 satisfies both conditions, so flare run ORG/MODEL on this card does get a gb203-tp1 retry; ga102 correctly does not. This PR adds gb203 to the two adjacent lists (docs/cli-design.md:888, :926) but leaves :904 enumerating three names, so the paragraph describing the new default's fallback contradicts the code beside it. Cite AGENTS.md:43 ("Required prose review") and docs/design-review.md principle 16.

Fix: add gb203 to that sentence, or several better, replace the enumeration with "for any PLATFORMS name beginning gb" so the prose stops tracking the table by hand.

Merge-order note (not a code defect)

flare/src/hub.rs:337-339 resolves the default revision as crate::hardware::detect(gpu_count.max(1))?, and flare/src/hardware.rs:18-21 now returns gb203 for 0x2c31. No repository publishes a gb203 revision yet, so flare run ORG/MODEL on this card goes gb203 → gb203-tp1 (hub.rs:3144-3157) → "missing revision". It never falls back to gb202.

That is a real behaviour change for this SKU: before the PR the card's flare run refused it outright ("unsupported PCI ID"), so nothing working is lost, but nothing is gained on the repository path until a gb203 build is published. The description discloses it and names --revision gb202 as the explicit override, which satisfies the disclosure expectation at AGENTS.md:197 ("Identify missing hardware, inputs, and unrun checks explicitly"). The point for the merge decision is ordering, not the code.

Do not add a silent gb203 → gb202 fallback: it would reintroduce exactly the artifact mismatch this PR exists to prevent.

Checked, not findings

Limits I cannot settle from here

Open questions

  1. Who publishes the first gb203 revision, and should this land before or after it? (Merge-order note.)
  2. #502 (GB206) edits PLATFORMS and flare/src/catalog.rs:561 too; whichever merges second must rebase. Same family, no conflict in approach.