Explore scratchpad · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/272b5f65-afeb-4deb-8924-5c0089d7f397.md

#1 [high] Change: what PR #469 does, file by file, verified from diff

PR #469 "Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier", author kilork (association NONE, no other PRs in 180 days), branch head d07e149, base main, 5 files +28/−22. No comments/reviews, no CI checks.

Verified from diff (pr_diff):

#3 [high] Why verified: the failure path and every consumer of PLATFORMS/platform_from_pci

#4 [high] Change (undeclared): Orbit placement mismatch for gb203 and ga102 cores

PR #469 changes revision() in flare-cli/src/orbit/gpu.rs (the per-GPU label in Orbit STATUS) to use the shared PCI table, but does NOT touch capability_revision() (flare-cli/src/orbit/gpu.rs:224-231), which maps compute capability → label: (12,1)→gb10, (12,0)→gb202, (10,3)→gb300, else sm{major}{minor}. The core's required revision under Orbit still comes from that capability mapping: flare-cli/src/orbit/controller.rs:2293-2294 revision: super::gpu::capability_revision(first.architecture[0], first.architecture[1]) inside describe(), which every resolved core (local, node-held, or freshly downloaded from a Hub revision) passes through (controller.rs:1128-1173, 1059-1126). plan::unfit (plan.rs:692-708) rejects a GPU whose revision differs, error "gpu N NAME is X, not Y". Consequences after this PR:

#5 [high] Claims: "no other identifier changes the revision it reports" is not accurate for orbit (GA102)

The PR description claims "no other device changes label, since gb203 is reachable only for 0x2c31". Verified against the diff this is true only for the shared helios table and for flare's NVML path. It is NOT true for flare-cli orbit, because the deleted private platform() was consulted before the compute-capability fallback while the shared table it now calls knows more ids:

#6 [high] Related work: the device-id PR series and #221's reviewer objections

Every change of this shape in the shared PCI/platform table, with outcome:

#9 [high] Claims and evidence: what is backed, what is only reported, and where the rationale is weaker than stated

Claims in the description, each with what backs it (verified by reading code) or does not:

  1. "ignition export … fails with RuntimeError: NVML reports unsupported GPU PCI id 0x2c3110de" — backed by heliopause/src/export/capture.rs:2079-2085 (Err(invalid(format!("NVML reports unsupported GPU PCI id {:#010x}", pci.device_id)))). The Rust error is wrapped as RuntimeError by the Python flare_heliopause extension; the exact prefix not verified here.
  2. "flare run refuses the same card … telling the operator to specify --revision" — backed by flare/src/hardware.rs:95-100 ("GPU {entry} has unsupported PCI ID {:#010x}; specify --revision") reached from flare/src/hub.rs:242-245 when no explicit revision.
  3. "The platform string … is the revision that selects a prepared core" — backed by docs/cli-design.md:883-898 and flare/src/hub.rs:242-246.
  4. "Preparation records device properties in the artifacts it publishes (the AOT cache key includes the device name, compute capability, and multiprocessor count in ignition/preparation/aot.py)" — VERIFIED: aot.py:694-697; also compilation.py:289-291. Caveat worth noting: the cache key is a local preparation cache path, not a field of the published core; what the published core records is hardware_identity (the platform string) plus the deployment architecture (compute capability) — helios/src/runtime_core/protection.rs:2161-2170, core schema docs/core-format-design.md:104-116. So the argument for a distinct revision rests on (a) preparation caching/tuning being SM-count-specific and (b) the operator's expectation that a revision names the hardware it was prepared on; the strict "a GB203 host would download a GB202-prepared core" hazard is real but the enforcement today is only the compute-capability check (helios/src/runtime_core/mod.rs:330-338 "core GPU architecture does not match device", [12,0] both sides) plus memory fit.
  5. "adds GB203_DEVICES with 0x2c31 and returns "gb203" … before the remaining tables are consulted" — exact (naming.rs:47-49, first check after the vendor mask).
  6. "adds "gb203" to PLATFORMS, so entry naming accepts the variant: export now names the card gb203-tp<N>-<UTC timestamp>" — exact (naming.rs:15; candidate() at :79-87; deployment_candidate at :111-134).
  7. "revision calls platform_from_pci and the private copy is removed… it omitted four of the five GB10 identifiers, and it listed 0x2bbc" — exact (main's gpu.rs:309-321 had 0x2e12 only and included 0x2bbc; shared table has 5 GB10 ids, no 0x2bbc).
  8. "0x2bbc still resolves to gb202, now through the capability fallback … so no other identifier changes the revision it reports" — holds only for 0x2bbc; FALSE for the six GA102 ids (sm86 → ga102) in orbit. See the separate entry.
  9. Tests: claims 6 passed/1577 filtered for helios naming, 5 passed for orbit::gpu. Controlled CI on head d07e149 has NOT run (orientation packet: "no checks"), so these are author-reported only. The helios test count is plausible: naming.rs has 6 #[test] fns. gpu.rs has 5 #[test] fns (pci_ids_select…, unknown_pci_ids…, visible_devices…, meminfo…, enumeration…) — consistent.
  10. Hardware evidence (hardware-revision 1 → gb203; download bogus/x → bogus/x@gb203; export completes → gb203-tp1-202611222126, 20.61 GiB, 74 graphs, capacity 128; flare run 3920 KV pages / 501,760 KV tokens / 95 shared snapshot slots; throughput parity) — plausible and internally consistent; not reproducible from here, and the description itself flags that no gb203 revision exists on any hub, so the hub-selection leg of the story is untested end to end.
  11. "Expected, not measured: no other device changes label" — see item 8.

#10 [high] Reach: users, operators, hub selection, help text, docs, and build

Who/what is affected by adding gb203 to PLATFORMS and GB203_DEVICES:

#12 [high] Why: no issue exists; the recurring unsupported-PCI-id bug class and who hits it

#13 [high] Change (undeclared): doc comments and help text left behind; docs/orbit.md overstates how gb203 is derived

Verified inconsistencies produced by the PR (each is a doc/claim vs code mismatch, not a code defect):

  1. docs/orbit.md:320-322 now reads "hardware revision (gb10, gb202, gb203, gb300 from the PCI device id or compute capability)". But capability_revision (flare-cli/src/orbit/gpu.rs:224-231) and the fallback in revision (:301-306) have no gb203 branch: gb203 is reachable ONLY from the PCI device id, never from compute capability. The sentence claims the wrong source for that one label.
  2. docs/orbit.md:437 "Only GPUs whose revision equals the core's are candidates" plus controller.rs:2293-2294 (core revision from compute capability) means a GB203 GPU labeled gb203 can never equal a GB203-prepared core's computed gb202. The doc page the PR edits is the one that best explains this mismatch, and the PR leaves it unexamined.
  3. flare-cli/src/orbit/gpu.rs:38-40 doc comment ("Flare hardware revision: gb10, gb202, gb300, or sm{major}{minor}") and :222-223 and :236-238 (plan.rs Needs.revision doc) are unchanged, so three doc comments now list a platform set that omits gb203.
  4. flare-cli/src/cli.rs:173 --revision help text unchanged (no gb203) while docs/cli-design.md:921 adds it.
  5. docs/cli-design.md:885-886 reflows awkwardly ("…and gb300. Automatic\nselection"), leaving a short orphan line and a long 890 line; cosmetic, and docs are the most-edited files in the repo (Luke Alonso 359 commits/180d), so it will be read.
  6. The new test loop over GB203_DEVICES (helios/src/core/naming.rs:206-212) cannot fail if the table is emptied — the same objection yatesdr raised on #221.
  7. platform_from_pci checks GB203 first although it is last in PLATFORMS; harmless (ids are disjoint) but the ordering rationale (GB203 before GB10) is unexplained where the other tables follow PLATFORMS order.

#2 [medium] People/recent activity: file history — gpu.rs is 13 days old at PR time

PR #469 branch head d07e149a "core: give GB203 its own platform identifier" by Alexander Korolev (kilork). Only commit touching these files. search_history helios/src/core/naming.rs on the branch: d07e149a (2026-11-22, Alexander Korolev), 333b11ec (2026-11-14, Garret Buell, #300 GA102), 7f534bb6 (2026-11-10, eugr, #260 RTX Spark GB10 ids), fa158284 (2026-11-09, Luke Alonso, Windows desktop). search_history flare-cli/src/orbit/gpu.rs: d07e149a and fa158284 only — i.e. the orbit gpu.rs module was created by Luke Alonso on 2026-11-09 in the Windows desktop PR and has had no other change until this PR. Author's own commit is the only one in the PR (no rebase/CI fixups).

#7 [medium] People: kilork (Alexander Korolev), first-time contributor; owners and reviewers

#8 [medium] Project fit: charter, README, design-review principles vs. the change

Charter (read_charter) points that bear on #469, as facts:

#11 [medium] Process: ready-for-review, zero CI, zero reviews, no design ack, no labels

#14 [low] Orientation leads: disposition of each candidate and recent commit

Leads from the orientation packet, followed and resolved: