Value proposition scratchpad · NVIDIA/hyperflare-inference #469

Raw Markdown for agents: https://autobot.eidonix.com/p/47fb51f5-9469-4cc0-90ff-d165fbdb3dcc.md

#1 [high] Orbit placement vs detection asymmetry (main finding)

PR #469 changes flare-cli/src/orbit/gpu.rs:297-307 revision() to use flare_helios::core::naming::platform_from_pci, so the agent's STATUS now reports gb203 for 0x2c31 (gpu.rs:209 calls revision()).

But the planner's requirement is still architecture-derived and untouched:

Before PR: both sides said gb202 (agent via CC fallback since 0x2c31 was absent from the CLI's table) → consistent; a gb202 core placed on a GB203 host. After PR: agent says gb203, planner demands gb202 → no placement. "rank N needs a free gb202 GPU..." even though STATUS shows gb203. Same asymmetry also affects flare orbit status/ls vs placement. repository_revision (controller.rs:2209-2233) now yields gb203 for a bare ORG/MODEL, so the download succeeds but placement then fails.

Suggested fix: in describe(), prefer the verified core's signed hardware_identity when naming::PLATFORMS.contains(it), falling back to capability_revision otherwise. That is also the semantically correct source per the PR's own argument (the platform names the hardware variant the artifacts were prepared on).

#2 [high] flare catalog test will fail with 5th platform

flare/src/catalog.rs:548-569 published_build_match_uses_all_platform_branches iterates PLATFORMS x PLATFORMS, then uses a fixed ref set at catalog.rs:561-563: {"ga102-tp1", "gb10-tp1", "gb202", "gb300-tp8"} and asserts (a) entry.build_target_match == Some(true) and (b) branch_platform(select_revision(&branches, Some(target))) == Some(target).

With "gb203" added to PLATFORMS (helios/src/core/naming.rs:15):

PR ran only helios ... naming (6 tests) and flare-cli ... orbit::gpu (5 tests), so this crate was not exercised. Fix: add {"name": "gb203-tp1"} to that list. #300 (GA102) did update this same list, catalog.rs:562.

#5 [high] Verification of author's fixes at current head (run 175)

BLOCKER 1 (Orbit placement asymmetry) — FIXED and verified:

BLOCKER 2 (flare catalog test) — FIXED and verified:

Stale enumerations — FIXED: cli.rs:201-203 (--revision help now ga102..gb300 incl. gb203), gpu.rs:38-39, gpu.rs:222-229, plan.rs:38-39, docs/orbit.md:321, docs/cli-design.md:888,926, docs/core-format-design.md:753.

Nit: describe() swallows identity() error via unwrap_or_default() (controller.rs:2293-2296). describe() returns Result, so it could propagate; but legacy_identity (helios/src/runtime_core/model.rs:1405-1412) errors when a legacy index has no contract model_id, which is a legitimately placeable core — so the swallow is defensible but conflates "no identity" with "identity read failed". Nit only.

#6 [high] Orbit has no escape hatch for a gb202 core on a gb203 host

No published gb203 revision exists yet. Consequences differ per path:

  1. flare run ORG/MODEL (local): detection yields gb203; hub.rs:3138-3157 tries the -tp1 alias on 404 for any PLATFORMS name, so it requests gb203 then gb203-tp1 and 404s. --revision gb202 works because flare/src/hub.rs:336-338 honours the explicit revision and accepts a gb202 core; hub.rs:2489-2545 signed_hardware only cross-checks that the selected cores agree with each other, not with the host. So --revision gb202 is a real escape hatch for flare run.

  2. flare orbit run (planner): describe() now takes the requirement from the core's SIGNED identity (controller.rs:2298), and plan.rs:12,438,693-696 requires exact equality of the GPU's detected revision with it. So a gb202-identity core requires gb202 GPUs and a GB203 host (reports gb203) is never a candidate. --revision gb202 only selects which branch to download (controller.rs:2210-2232 repository_revision); it does NOT relax placement.

Therefore on a GB203 host flare orbit run cannot place any currently publishable core, until a gb203 build exists. The PR description says "--revision gb202 remains the explicit override for cores prepared on GB202" without limiting that to flare run, and says Orbit placement was not run against a cluster. This is a documentation/limitation gap, not a code defect; it also means the "before" behaviour (GB203 host placed a GB202 core because both sides said gb202) is intentionally withdrawn.

Also: Orbit PROTOCOL_VERSION (flare-cli/src/orbit/mod.rs:37) is unchanged at 7, and STATUS carries revision as a free string, so a not-yet-upgraded agent reports gb202 for 0x2c31 while an upgraded controller demands gb203 → cannot place. Rollout-order caveat: upgrade agents before (or with) controllers.

#7 [high] Final re-review follow-ups and verdict (run 175)

Remaining follow-ups at current head (all small; none architectural):

(a) PR body says "--revision gb202 remains the explicit override for cores prepared on GB202" without scoping to flare run. For flare orbit run it is NOT an override: controller.rs:2210-2232 uses it only to pick the download branch, while placement requires exact equality of detected GPU revision vs the core's signed identity (plan.rs:12,438,693-696). So on a GB203 host no currently publishable core can be placed until a gb203 build exists. Must be stated.

(b) docs/cli-design.md:904 says the -tp1 alias is tried "For gb10, gb202, and gb300". hub.rs:3147-3155 applies it when revision.starts_with("gb") && PLATFORMS.contains(revision), so gb203 is covered now and the list omits it (ga102 is correctly excluded since it does not start with "gb"). One-line fix.

(c) controller.rs:2293-2296 describe() swallows identity()'s error via .unwrap_or_default() although describe() returns Result. For a payload core that error is already unreachable in practice; for a legacy core legacy_identity (helios/src/runtime_core/model.rs:1405-1412) legitimately errors when the index has no contract model_id. Swallowing is defensible for legacy but conflates "records no identity" with "identity read failed", and on failure it silently demotes a gb203 core to gb202 -- the exact bug class this PR fixes. Cleanest: propagate for payload, default for legacy. Also add the describe()-level gb203 test the earlier reviewer asked for; the pure helper test (gpu.rs:373-383) is good but does not cover the wiring.

(d) Precedent confirms this change class is welcome: #300 (ga102) and #529 (GB300 0x31c2, merged 2026-11-25, same three files) did the same thing.

(e) Durability note: GB203_DEVICES has one entry; any additional GB203 SKU not added here falls back to gb202 in Orbit (CC 12.0) while export (heliopause/src/export/capture.rs:2161) still hard-errors -> recreates the split this PR fixes. Worth a comment beside the table.

(f) Rollout: Orbit PROTOCOL_VERSION stays 7 (flare-cli/src/orbit/mod.rs:37) and STATUS carries revision as a free string, so an upgraded controller demanding gb203 plus a not-yet-upgraded agent reporting gb202 cannot place on 0x2c31. Upgrade agents with or before controllers.

VERDICT: worth it with changes -- (a) and (b) required (user-facing inaccuracy), (c) recommended.

#3 [medium] Scope, evidence, cost, and precedent assessment

Charter (read via read_charter):

Blast radius (verified): gb203 reachable only for 0x2c31 because the check at naming.rs:47-49 is first and matches a 1-element table; all other identifiers' resolution unchanged. Removal of 0x2bbc from the CLI table is behavior-neutral (still gb202 via CC fallback, gpu.rs:301-306). Removal of the GB10 copy is covered by the shared GB10_DEVICES (5 ids vs 1 in the CLI copy — the CLI was actually wrong for 0x2e02/0x2e03/0x2e06/0x2e2a).

No "no new code" alternative: heliopause/src/export/capture.rs:2079-2085 current_platform returns a hard error for unknown PCI ids (does not fall back to unknown-device), so a GB203 host cannot prepare a core under any name. deployment_candidate/unknown_device_candidate (naming.rs:89-134) would be the degradation path, but it loses the variant distinction and names a known card unknown-device.

Artifact-variant premise verified: ignition/preparation/aot.py:694-697 keys the AOT forward cache on properties.name, major, minor, multi_processor_count; ignition/preparation/compilation.py:289-291 also keys on get_device_name(). So GB202- and GB203-prepared artifacts are different caches. It is a cache-key mismatch, not a correctness failure.

Cost: 4-line table + 1 PLATFORMS entry + docs; one contains on a 1-element array added before the GB10 lookup; NVML call sites untouched; no performance effect.

Remaining doc/help gaps: flare-cli/src/cli.rs:173 (--revision help still "detects ga102, gb10, gb202, or gb300"; #300 updated this line, #469 did not), plus doc comments at flare-cli/src/orbit/gpu.rs:38, gpu.rs:222-223, flare-cli/src/orbit/plan.rs:38. Optional follow-up: add 0x2bbc to GB202_DEVICES (naming.rs:21-23) instead of relying on the CC fallback.