Explore scratchpad · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/edbcf138-7880-49af-9bee-e9f08c48d91a.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.

#16 [high] AMENDMENTS (2026-11-26): PR #469 re-review after 1ee15641 / rebase to 62a3726

AMENDMENTS to report #15. Everything in #15 that is not contradicted below still stands. New head: 62a372666394425779bb21fd8219954bddfb983a, rebased onto c915b5f0 (2026-11-25 main). Author reworked in 1ee15641 and again in the rebase; commented 2026-11-24 19:11.

  1. SCOPE CHANGED. Was 5 files, +28/−22 (head d07e149). Now 9 files, +90/−46: docs/cli-design.md (+7−5), docs/core-format-design.md (+2−2), docs/orbit.md (+3−2), flare-cli/src/cli.rs (+2−1), flare-cli/src/orbit/controller.rs (+5−1), flare-cli/src/orbit/gpu.rs (+42−27), flare-cli/src/orbit/plan.rs (+2−2), flare/src/catalog.rs (+2−1), helios/src/core/naming.rs (+25−5). The three new source files are the fixes for my blockers (controller.rs, plan.rs, catalog.rs) plus cli.rs help.

  2. BLOCKER 1 (Orbit placement) IS FIXED — verified in code, not just claimed.

    • flare-cli/src/orbit/gpu.rs:240-248 new core_revision(hardware, major, minor): returns hardware when naming::PLATFORMS.contains(&hardware), else capability_revision.
    • flare-cli/src/orbit/controller.rs:2293-2298 describe() now reads authorized.identity().map(|i| i.hardware).unwrap_or_default() and passes it to core_revision.
    • The value is the right one: PayloadVerifiedCore::identity_parts returns body.hardware_identity (helios/src/runtime_core/protection.rs:2618-2630), which heliopause writes from the capture platform (heliopause/src/export/core.rs:656-664, 716). Legacy cores set hardware: String::new() (helios/src/runtime_core/model.rs:1426-1436), so they fall through to the capability branch as intended.
    • Residual, worth stating: (a) my request for a describe()-level test was declined; the new test a_core_requires_the_revision_its_device_identity_records (gpu.rs:373-383) exercises core_revision only, so the controller.rs wiring itself has no test; (b) unwrap_or_default() at controller.rs:2293-2296 swallows an identity() error and silently degrades a malformed payload core to the capability revision instead of failing.
  3. BLOCKER 2 (red CI) IS FIXED. flare/src/catalog.rs:561-564 fixture now lists ga102-tp1, gb10-tp1, gb202, gb203-tp1, gb300-tp8. But the fixture is still hand-written rather than derived from PLATFORMS, so the same break recurs for the next platform — see item 7 (#502/gb206).

  4. NEW UNDECLARED BEHAVIOUR CHANGE (not in my earlier report; only visible in this head). capability_revision now maps compute capability 8.6 → "ga102" (flare-cli/src/orbit/gpu.rs:235). SM86 is not GA102-specific: GA103/GA104/GA106/GA107 (RTX 3070/3060 Ti/3060/A4000/A5000 class, e.g. PCI 0x2484, 0x2504) are also 8.6 and are absent from GA102_DEVICES (helios/src/core/naming.rs:34, six ids). Those unlisted cards therefore now report ga102 in Orbit STATUS although the shared table does not name them, so plan::unfit (plan.rs:693-696) matches them onto a ga102-prepared core — a false positive across different dies/SM counts, which is the exact hazard the PR invokes to justify separating GB203 from GB202. Before the PR they reported sm86 and could only match legacy sm86 cores. The doc comment at gpu.rs:225-229 acknowledges 8.6 is shared but not the false-match consequence. Either map 8.6 only when the PCI id is in GA102_DEVICES (it already is, via platform_from_pci) and leave the fallback as sm{major}{minor}, or say in the description/docs that any SM86 card is now labelled ga102 and placements may cross dies. The symmetric case is unfixed too: an unlisted 12.0 device (e.g. GB203 SKUs without a table entry) still falls back to gb202 (gpu.rs:233, test at :361).

  5. DOC ENUMERATIONS: my earlier nits are addressed (cli.rs:200-203 help lists gb203; orbit/gpu.rs:222-223 and plan.rs:37-39 doc comments point at PLATFORMS or sm{}; docs/orbit.md:320-322 no longer claims gb203 comes from compute capability; docs/cli-design.md:888 and :926 and docs/core-format-design.md:753 list five). Two leftovers:

    • docs/cli-design.md:904 still reads "For gb10, gb202, and gb300, the shared CLI and desktop downloader tries the corresponding -tp1 revision" — now also wrong for gb203, which does get that fallback. The gate is revision.starts_with("gb") && PLATFORMS.contains(&revision) (flare/src/hub.rs:3144-3150), so GB203 gets gb203-tp1 and GA102 never gets ga102-tp1; the doc's three-name list matches neither the table nor the prefix rule.
    • platform_from_pci still tests GB203 first (naming.rs:49-51) although PLATFORMS puts it fourth; harmless (ids disjoint) and still unexplained — nit unchanged.
  6. EVIDENCE IS NOW MUCH STRONGER (my earlier "author-reported only" framing is superseded in part). Description rewritten with the four required sections plus Evidence and Limits; reports helios 1626 passed, flare 228, flare-cli 199, plus a disclosed once-failing order-dependent test (orbit::plan::…multi_host_prefers_cached_ranks_and_the_source_for_rank_zero, plan.rs:829) that also fails on the base. Hardware: flare hardware-revision 1 → gb203; ignition export inkling-2-mini → gb203-tp1-202611261015 (20.61 GiB, 74 graphs); flare run serves it with 3920 KV pages / 501,760 KV tokens / 95 snapshot slots and throughput parity. Still unexercised: Orbit placement on a cluster (author says so), and any gb203 branch (none published). I confirmed the author's CI-environment caveat and it points at a pre-existing repo defect: .github/workflows/native-serving.yml:31 prepares templates with --recipe gemma4 --recipe glm53 --recipe mimo_v2 --recipe nemotron_h --recipe qwen38 --recipe step5, but helios/src/frontend/jinja/tests.rs:820 iterates PREPARED_TEMPLATES including ("minimax_m3", "chat_template"), which panics if absent (helios/tests/support/templates.rs:17-19). So the helios CI leg cannot go green on this branch or on main independent of #469. (Not run by me; read from the workflow and the test constants.)

  7. RELATED-WORK AMENDMENT — open #502 (draft, wektorz, gb206) collides with this PR. #502 adds GB206_DEVICES and "gb206"/PLATFORMS, and re-creates platform(pci_id) inside flare-cli/src/orbit/gpu.rs — the duplicate table #469 deletes — and keeps a core requirement derived from compute capability, i.e. it re-opens both of #469's original blockers. #502's own review already flags the same hand-written flare/src/catalog.rs fixture, which #469 has now edited (conflict likely). Merge order matters: #469 first, then #502 rebased onto platform_from_pci + core_revision. Also still true: merged #529 added 0x31c2 to GB300_DEVICES and rewrote Orbit's platform() — the function #469 deletes; #469 is rebased onto that (#529 landed 2026-11-25).

  8. PROCESS STATUS: still zero CI checks reported on the head, still zero human reviews (only the autobot case-file + Changes Requested of 2026-11-24 18:48, which this head answers), still no labels, no linked issue, and still no Design-Signed-Off-By / design acknowledgment. Still no docs/TODO.txt entry for the two disclosed gaps (no published gb203 revision; Orbit placement untested), although AGENTS.md:52-60 directs unresolved defects and pending measurements there rather than into the PR body. Author's Discord handle supplied.

  9. Bottom line after the amendments: my two blockers and every "should fix" are resolved in code and the description is honest about the merge-order hazard, so the recommendation moves from Changes Requested to Approve-with-nits, conditional on (a) resolving or documenting the SM86→ga102 fallback false match in item 4, and (b) someone landing a gb203 core or accepting that automatic selection currently resolves to a nonexistent revision.

#17 [high] Research summary

Amendments to the PR #469 report (as of head 62a3726, 2026-11-26)

New head 62a372666394425779bb21fd8219954bddfb983a, rebased onto c915b5f0. Everything not contradicted here still stands as reported.

1. Scope is different, not just longer

Was 5 files +28/−22; now 9 files +90/−46: the same three docs plus flare-cli/src/cli.rs, flare-cli/src/orbit/{controller,gpu,plan}.rs, flare/src/catalog.rs, helios/src/core/naming.rs. The added source files are the fixes below.

2. Both blockers are genuinely fixed in code

3. NEW undeclared behaviour change — the GA102 fix overshoots

capability_revision now maps compute capability 8.6 → "ga102" (flare-cli/src/orbit/gpu.rs:235). But SM86 is not GA102-specific: GA103/GA104/GA106/GA107 cards (0x2484, 0x2504, …) are also 8.6 and are absent from GA102_DEVICES (helios/src/core/naming.rs:34, six ids). Those unlisted cards therefore now report ga102 in Orbit STATUS despite the shared table not naming them, and plan::unfit (plan.rs:693-696) will place a ga102-prepared core on them — a cross-die, cross-SM-count placement, i.e. the exact hazard this PR invokes to justify separating GB203 from GB202. Before the PR they reported sm86 and matched only legacy sm86 cores. The doc comment at gpu.rs:225-229 admits 8.6 is shared but not this consequence. The symmetric hole also remains: an unlisted 12.0 device (e.g. a GB203 SKU without a table entry) still falls back to gb202 (gpu.rs:233, asserted at :361).

4. Docs: nits fixed, two leftovers

Fixed: cli.rs:200-203 help, orbit/gpu.rs:222-223, plan.rs:37-39, docs/orbit.md:320-322 (no longer claims gb203 comes from compute capability), docs/cli-design.md:888/926, docs/core-format-design.md:753. Still wrong/newly visible:

5. Evidence: my earlier "author-reported only" framing is partly superseded

Description rewritten into the four required sections with Evidence and Limits; helios 1626 / flare 228 / flare-cli 199 passed, plus a disclosed once-failing order-dependent test (orbit::plan multi_host_prefers_cached_ranks_and_the_source_for_rank_zero, plan.rs:829) that also fails on the base. Hardware run now covers export (gb203-tp1-202611261015, 20.61 GiB, 74 graphs) and serving (3920 KV pages / 501,760 tokens / 95 slots, throughput parity). Still unexercised: Orbit placement on a cluster (author says so) and any gb203 Hub branch. I confirmed the author's CI-environment caveat and it is a pre-existing repo defect: .github/workflows/native-serving.yml:31 (not opened) prepares templates for gemma4 glm53 mimo_v2 nemotron_h qwen38 step5, but helios/src/frontend/jinja/tests.rs:820 iterates PREPARED_TEMPLATES containing ("minimax_m3", "chat_template"), which panics when the file is absent (helios/tests/support/templates.rs:17-19); the helios leg cannot go green on main or this branch.

#502 (draft, wektorz, GB206) adds GB206_DEVICES/gb206 and re-creates platform(pci_id) inside flare-cli/src/orbit/gpu.rs — the duplicate table #469 deletes — while keeping the core requirement capability-derived, i.e. it re-opens both of #469's original blockers; its own review already flags the same flare/src/catalog.rs fixture #469 has now edited. Merge order matters: #469 first, then #502 rebased onto platform_from_pci + core_revision. Also still true: merged #529 rewrote that same platform(); #469 is rebased on top of it.

7. Process

Still zero CI checks on the head, zero human reviews (only the 2026-11-24 autobot Changes Requested, which this head answers), no labels, no linked issue, and no Design-Signed-Off-By / design acknowledgment. Still no docs/TODO.txt entry for the two disclosed gaps (no published gb203 revision; Orbit placement unrun), although AGENTS.md:52-60 sends unresolved defects and pending measurements there rather than into a PR body.

8. Bottom line

Recommendation moves from Changes Requested to Approve-with-nits, conditional on (a) fixing or documenting the SM86→ga102 fallback false match (§3), and (b) someone publishing a gb203 core or explicitly accepting that automatic selection now resolves to a revision that does not exist (--revision gb202 remains the documented override).

#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

#18 [medium] Re-verification at head 62a3726: which angles changed and which did not

Re-check of every angle of report #15 at head 62a372666394425779bb21fd8219954bddfb983a (rebased onto c915b5f0). Purpose: which parts of #15 still hold verbatim.

UNCHANGED / still accurate:

CHANGED (see entry #16 for detail): scope (+90/−46, 9 files); Orbit placement blocker fixed via core_revision; catalog.rs fixture fixed; capability_revision(8,6)→ga102 added, which is a NEW undeclared behaviour change for non-GA102 SM86 cards; doc enumerations fixed except docs/cli-design.md:904; description rewritten with evidence and a merge-order note.

NEW EXTERNAL FACT affecting the related-work angle: open draft #502 (gb206) re-creates the duplicate platform() in orbit/gpu.rs and keeps capability-derived core revisions, and edits the same flare/src/catalog.rs fixture — so #469 should land first and #502 be rebased onto it. Merged #529 already rewrote that platform() and #469 is rebased on it.

PRE-EXISTING REPO DEFECT confirmed while checking the author's CI caveat (relevant because it is why the helios leg cannot go green): .github/workflows/native-serving.yml:31 prepares six recipes (gemma4 glm53 mimo_v2 nemotron_h qwen38 step5) but helios/src/frontend/jinja/tests.rs:814-824 PREPARED_TEMPLATES includes minimax_m3; helios/tests/support/templates.rs:17-19 panics on a missing file. Workflow line numbers from main and from the PR head are the same (workflow not touched by the diff).

NOT RE-CHECKED / still unknown: whether CI actually ran on 62a3726 (no checks reported by the tools available); whether any repository now publishes a gb203 branch (none found by search); whether GA102 or SM86 hosts actually run Orbit today (no evidence either way).

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

Leads from the orientation packet, followed and resolved: