#1 [high] PR 502 gb206 platform - core facts
PR #502 "feat: add gb206 platform support" by wektorz (Discord: wektor). Two files, +18/-1:
- helios/src/core/naming.rs: PLATFORMS 4->5, adds "gb206"; new
GB206_DEVICES: [u32;9] = [0x2d04,0x2d05,0x2d18,0x2d19,0x2d30,0x2d39,0x2d58,0x2d59,0x2d79];platform_from_pcireturns Some("gb206") for them (line 53-55, missing semicolon +"gb202","gb206"missing space at line 15 -> rustfmt drift); test loops GB206_DEVICES (naming.rs:203-209). - flare-cli/src/orbit/gpu.rs:319-321 adds the same 9 ids to Orbit agent's private
platform()match.
Key structural facts found:
- naming.rs:19-20 doc: "This table is the single source consumed by Flare's device detection and by core export naming; do not duplicate the identifiers elsewhere."
- flare/src/hardware.rs:18-21 already reuses it (
platform()->flare_helios::core::naming::platform_from_pci), soflare run/catalog detection gets gb206 for free. - flare-cli/src/orbit/gpu.rs:310-324 is a PRE-EXISTING divergent copy of the table (doc comment line 309 claims it is "The PCI ID table of crate::hardware"): it only knows 0x2e12 for gb10, no ga102, no gb300 (falls back to sm103 via revision()), and lists 0x2bbc for gb202 which naming.rs's GB202_DEVICES does NOT contain. PR extends the divergence instead of deleting it. Deletion is trivially possible: flare-cli depends on flare-helios (Cargo.toml:27) exactly as flare does.
- heliopause/src/export/capture.rs:2020-2089
current_platform(): PCI id -> naming::platform_from_pci; on None returns Err("NVML reports unsupported GPU PCI id {:#010x}") -> export fails. It is a clean error, not a panic/crash, so PR's "prevents crashes" wording is inaccurate. - heliopause/src/export/core.rs:656-664: hardware_identity comes from captured rank platform, else "unknown-device"; deployment id
{hardware}-tp{N}. - helios/src/core/schema.rs:232 only bounds hardware_identity length (bounded_name, 256) -> PLATFORMS is NOT validated on load.
- Load-time device check is numeric only: helios/src/runtime_core/mod.rs:337-346 compares cuDeviceGetAttribute 75/76 (compute capability) against core architecture. Nothing compares hardware_identity to the local platform. So a gb206-labelled core still loads on any SM120 GPU and a gb202 core loads on a 5060 Ti; the "clean separation" is naming/routing only, not enforced.
#2 [high] PR 502 - verified defects and verdict reasoning
A. CI-breaking test (confirmed by reading code): flare/src/catalog.rs:548-569 published_build_match_uses_all_platform_branches loops over naming::PLATFORMS and has a hardcoded 4-platform fixture at :561-563 {"ga102-tp1","gb10-tp1","gb202","gb300-tp8"}. For target="gb206": :566 asserts build_target_match==Some(true) but apply_refs (:319-322) yields Some(false); :567 select_revision falls back alphabetically to "ga102" -> branch_platform gives Some("ga102") != Some("gb206"). Two assert failures. CI runs this suite: .github/workflows/native-serving.yml:77 cargo test --locked --release --manifest-path flare/Cargo.toml. PR description claims helios + flare-cli tests only; the flare crate suite it omits is the one that breaks. Identical defect was a review BLOCKER on #469, and merged #300 changed this same fixture for ga102.
B. Orbit placement regression (confirmed): flare-cli/src/orbit/controller.rs:2294 sets CoreNeeds.revision = gpu::capability_revision(arch[0],arch[1]); gpu.rs:224-231 maps (12,0)->"gb202" with no gb206 arm. Agent GPU revision comes from gpu.rs:209 -> revision(pci,major,minor) (:297-307) -> "gb206" after this PR. plan.rs:693-696 unfit compares exactly -> "gpu 0 is gb206, not gb202". So the PR makes export succeed and then Orbit refuses to place the resulting core on a GB206 host. #469's BLOCKER fixed exactly this by taking describe()'s revision from authorized.identity()?.hardware when in PLATFORMS.
C. Duplication: naming.rs:17-20 states "This table is the single source ... do not duplicate the identifiers elsewhere." PR adds 9 ids as a second copy in flare-cli/src/orbit/gpu.rs:319-321. flare/src/hardware.rs:18-21 shows the intended one-liner (platform() -> naming::platform_from_pci); flare-cli already depends on flare-helios (flare-cli/Cargo.toml:27). The existing orbit copy is already drifted (no ga102; gb10 only 0x2e12 not the 5 in GB10_DEVICES; extra 0x2bbc absent from GB202_DEVICES; gb300 via capability only). #469 (open, kilork) deletes the copy entirely.
D. "Prevents crashes" is wrong: heliopause/src/export/capture.rs:2079-2085 returns Err(invalid("NVML reports unsupported GPU PCI id {:#010x}")) — a clean hard error, not a panic. #469 states this correctly.
E. L2-cache rationale is unconsumed: no per-platform cache-size constant exists anywhere (l2|L2|persisting_l2 search: only docs/model-preparation.md:207, which reads L2 from the live device during preparation). Platform string is used only for: naming labels (naming.rs:76-131), hub revision selection (flare/src/hub.rs:2473,2490,3111-3121), signed hardware_identity (heliopause/src/export/core.rs:656-664), orbit revision/placement. Load-time device check is numeric only (helios/src/runtime_core/mod.rs:337-346, attributes 75/76), so a gb206 label does not gate backend/kernel selection. Separation of dies is still justified on the #469 argument (SM count / VRAM / tuning geometry differ), just not for the stated reason.
F. Precedent and charter: #300 (gmbuell) merged ga102/GA102_DEVICES into PLATFORMS with 0 discussion in ~2h; it also left orbit's private table alone. #469 open is the same-shape gb203 PR and its review spells out the needed shape (share one table, derive core revision from signed identity, update every platform enumeration, add literal PCI assertion). gb206 is SM120 (a charter-supported arch) but a 16 GB consumer card; non-goal "broad hardware support" needs maintainer sign-off. Contributor wektorz/wektor is not a priority contributor.
G. Stale enumerations + nits: cli.rs:175 --revision help, orbit/gpu.rs:38 and :222-223, orbit/plan.rs:38-39, docs/cli-design.md:887/890/901/923, docs/orbit.md:321, docs/core-format-design.md:753-754 all still list four platforms. naming.rs:15 missing space after comma ("gb202","gb206"); naming.rs:54 missing semicolon. Test only loops GB206_DEVICES (naming.rs:203-209), no literal id assertion; no gb206 case added to orbit/gpu.rs tests:352-366.
H. Positive: hub 404 -> "{revision}-tp1" fallback needs no change because flare/src/hub.rs:3114 gates on revision.starts_with("gb") && PLATFORMS.contains -> gb206 covered. helios/src/core/schema.rs:232 only bounds hardware_identity length, so old cores still load. 8 of 9 ids untested by the author (self-declared), sourced from pci.ids.
#3 [high] PR 502 - final verdict and blocker list
Verdict: WORTH IT WITH CHANGES. Goal is legitimate house convention (merged #300 ga102; open #469 gb203), footprint tiny (+18/-1), gb206 is SM120 which is a charter-supported arch. But it cannot merge as-is:
B1 (blocker) CI red: flare/src/catalog.rs:548-569 fixture at :561-563 lacks "gb206-tp1"; native-serving.yml:77 runs that suite. #300 changed this same fixture; #469 review called it a blocker.
B2 (blocker) Orbit placement: controller.rs:2294 core revision via gpu.rs:224-231 capability_revision (no gb206 arm) vs agent-reported "gb206" (gpu.rs:209,297-307) compared exactly by plan.rs:693-696 -> core never places on the card it was prepared on.
B3 (should be blocker) Duplicated table: naming.rs:17-20 forbids it; flare/src/hardware.rs:18-21 is the one-line reference to copy; #469 deletes orbit's copy and reduces drift.
S1 Description defects: "prevents crashes" is an Err at capture.rs:2079-2085, not a crash; "different cache sizes" is not implemented anywhere (L2 read live at preparation, docs/model-preparation.md:205-209); omission of flare crate from claimed test evidence hides B1.
S2 Stale enumerations: cli.rs:175, orbit/gpu.rs:38/222-223, orbit/plan.rs:38-39, docs/cli-design.md:887/890/901/923, docs/orbit.md:321, docs/core-format-design.md:753-754.
Nits: naming.rs:15 missing space; naming.rs:54 missing semicolon; test loops only, no literal 0x2d04 assertion (per #221 review convention); no gb206 case in orbit/gpu.rs tests:352-366; 8/9 ids untested by author (self-declared).
Simpler path: delete orbit's platform()/match, have revision() call naming::platform_from_pci (as #469 does), add the catalog fixture entry, docs. Then it is ~the same size with one table.
Untested/absent evidence: boot on 5060 Ti is claimed but no export transcript, no core name, no flare run result, no Orbit check; #469 supplied export + run + throughput + entry name.
#5 [high] PR 502 at head 8e2ea68 (2026-11-26) - what changed since last review
Head 8e2ea68 "fix: update catalog test, docs, and scope for gb206 platform" (Wiktor Zdrojewski). Files changed at head: 5, +25/-7.
- helios/src/core/naming.rs — PLATFORMS -> [&str;5] = ["ga102","gb10","gb202","gb206","gb300"] (space-after-comma nit fixed, line 15); GB206_DEVICES [u32;9] added at :27-29 with a doc comment naming RTX 5060 Ti/5060 + mobile/workstation (comment nit fixed); platform_from_pci returns Some("gb206") at :55-57 — STILL missing the trailing semicolon (
return Some("gb206")), which compiles becauseif { return .. }as a statement coerces!->(), so this is style only; tests: loop over GB206_DEVICES at :205-211 PLUS literal assertsplatform_from_pci(0x2d04_10de) == Some("gb206")(:219) and0x2d04_1af4 == None(:220) — the #221/#469 literal-id request is now satisfied. - flare/src/catalog.rs:562 — fixture now
{"ga102-tp1","gb10-tp1","gb202","gb206","gb300-tp8"}. I re-derived the test by reading apply_refs (:304-329) + branch_platform (:271-280) + select_revision (:292-303): for every target in PLATFORMS the fixture now yields build_target_match Some(true) and select_revision -> a name whose branch_platform == target. CI blocker #1 is FIXED (workflow native-serving.yml:77 runs this suite). - flare-cli/src/orbit/gpu.rs — the PR's only flare-cli change is now GONE: platform() at :309-322 is back to main's shape (0x2e12 -> gb10, GB202 list incl. 0x2bbc, no gb206, no ga102). So no second copy of the 9 ids was added; blocker #3 (duplication) is FIXED by dropping the hunk rather than by deleting the pre-existing drifted table.
- Docs: docs/cli-design.md:887,890,923 and docs/core-format-design.md:754 and flare-cli/src/cli.rs:175 now list gb206. docs/cli-design.md:901 still says the
-tp1404 retry is "Forgb10,gb202, andgb300" — hub.rs:3113-3116 actually retries whenever revision.starts_with("gb") && PLATFORMS.contains(revision), so gb206 (and not ga102) qualifies; three lines below the list it just fixed. docs/orbit.md:321 still saysgb10,gb202,gb300(omits ga102) — now arguably correct to leave gb206 out because Orbit does not report it. - Description was NOT updated: still says "Prevents crashes" and "GB206 also has different cache sizes from GB202", and still cites
cargo test --manifest-path helios/Cargo.tomlwithout --features runtime-core,server.
#6 [high] PR 502 remaining defects at head 8e2ea68
A. Orbit vs flare now disagree about the same GPU (main remaining defect). flare/src/hardware.rs:18-21 delegates to platform_from_pci, so flare hardware-revision 1 (flare-cli/src/hardware.rs:5-18) now prints gb206 for 0x2d04, and flare run ORG/MODEL (hub.rs:316 -> hardware::detect) requests Hub revision gb206, then gb206-tp1 via hub.rs:3104-3122, and fails 404 because nothing publishes either. Meanwhile Orbit's agent still resolves the same card to gb202: orbit/gpu.rs:297-307 revision() -> platform() (:309-322, no gb206) -> capability_revision (:224-231, (12,0)=>gb202); flare orbit status prints gb202 and flare orbit run requests the gb202 revision (controller.rs:2209-2232 repository_revision from GPU status). Two commands in one binary, two revisions for one GPU. Before the PR both failed/worked consistently. Placement still works because controller.rs:2294 derives the core requirement from compute capability too, so host gb202 == core gb202. So dropping the Orbit hunk avoided the regression but left the divergence. #469 solved this the other way: agent reports the platform, and describe() takes the requirement from authorized.identity()?.hardware when it is a PLATFORMS name.
B. No gb206 Hub revision exists and no mechanism to build one in-repo. Detection replaces a precise error ("GPU 0 has unsupported PCI ID 0x2d0410de; specify --revision", hardware.rs:95-100) with a resolve-then-404. Needs one sentence in the description: use --revision gb202 until a gb206 build is published. Also: flare run <local core path> is unaffected, which is the contributor's actual workflow.
C. Description errors, unfixed: (i) "Prevents crashes" — the pre-PR failure is Err(invalid("NVML reports unsupported GPU PCI id {:#010x}")) at heliopause/src/export/capture.rs:2079-2085; no panic, no CUDA corruption. (ii) "different cache sizes" — no per-platform cache-size constant exists anywhere (case-insensitive l2 search in helios/src: only unrelated matches; l2_cache in ignition: none); preparation reads L2 live from the device (docs/model-preparation.md:205-209) and the platform string is used only for naming (naming.rs:76-133), Hub revision selection (hub.rs:2473,2490,2963,3115), signed hardware_identity (heliopause/src/export/core.rs), distribution receiver names (flare-cli/src/distribution.rs:159-160,717-727) and Orbit revision. The defensible rationale is SM count / VRAM / tuning geometry (GB206 ~36 SM, 128-bit, 16 GB vs GB202 188 SM, 96 GB), which is also weaker here than for #469 because both are SM120 with identical compute capability 12.0.
D. Evidence: cargo test --manifest-path helios/Cargo.toml cannot exercise platform_from_pci — pub mod core is #[cfg(feature = "runtime-core")] (helios/src/lib.rs:22-23), and CI runs helios with --features runtime-core,server (native-serving.yml:63,68). The flare-cli test claim is now vacuous (no flare-cli behaviour changed; the only flare-cli edit is a /// help sentence at cli.rs:175). No cargo test --manifest-path flare/Cargo.toml claim, which is the crate whose test the change touches. The 5060 Ti claim has no transcript: no exported entry name, no flare run output, no KV pages, no throughput. #469 in the same repo supplies all of those.
E. Branch is behind main: pr/502's GB300_DEVICES is [u32;1] = [0x31c3] while main is [u32;2] = [0x31c2,0x31c3] (e38/#529 "Recognize PCI device 31c2 as GB300" merged 2026-11-25). Needs a rebase before its test evidence means anything.
F. PCI ids verified against devicehunt listing for vendor 10DE: 2D04 GB206 5060 Ti, 2D05 GB206 5060, 2D30 GB206GL RTX PRO 2000, 2D79 GB206GLM PRO 2000 Embedded, 2D39 GB206GLM PRO 2000 Laptop, 2D18/2D58 GB206M 5070 mobile, 2D19/2D59 GB206M 5060 mobile — all nine are GB206 family, and none collide with GB202 (2B85..2BB9), GB203 (2C02..2C79), GB205 (2F02..2F58), GB207 (2D83..2DF9), GB10 (2E02..2E2A), GA102 (2203..2216), GB300 (31C3). Table is correct and disjoint.
G. Correction to my earlier note: GA102_DEVICES already covers consumer GeForce cards (RTX 3080/3090), so gb206 is not the first consumer card in the table; consumer hardware has merged precedent (#300).
#7 [high] Report of run 318 - PR 502 at head 8e2ea68
Verdict: worth it WITH CHANGES. Head 8e2ea68 (2026-11-26), 5 files +25/-7.
FIXED by author since last review (verified in code, not from reply):
- CI: flare/src/catalog.rs:562 fixture now has gb206. Re-derived apply_refs(:304-329)/branch_platform(:271-280)/select_revision(:292-303) -> both asserts at :566-567 pass for all five PLATFORMS. native-serving.yml:77 runs it. BLOCKER GONE.
- Orbit regression: the flare-cli hunk was DROPPED; orbit/gpu.rs:309-322 is back to main. Host revision still capability-derived (gpu.rs:224-231 (12,0)=>gb202) and core requirement still controller.rs:2294 same function, so placement still works. BLOCKER GONE.
- Duplication: not extended; naming.rs:17-20 honoured.
- Nine ids verified against vendor PCI listing (2D04 5060Ti, 2D05 5060, 2D30 PRO 2000, 2D79 PRO 2000 Embedded, 2D39 PRO 2000 Laptop, 2D18/2D58 5070 mobile, 2D19/2D59 5060 mobile); disjoint from GB202/GB203/GB205/GB207/GB10/GA102/GB300. GB207 (2D83..) correctly excluded.
- Review asks taken: literal 0x2d04 asserts (naming.rs:219-220), card-naming comment (:25-26), PLATFORMS comma (:15), docs+help (cli-design.md:887,890,923; core-format-design.md:754; cli.rs:175).
MUST FIX:
- flare vs Orbit divergence: flare hardware-revision -> gb206 (hardware.rs:18-21, flare-cli/src/hardware.rs:5-18) and flare run requests gb206/gb206-tp1 (hub.rs:314-317,3104-3122); Orbit still says/requests gb202 (orbit/gpu.rs:297-307, controller.rs:2209-2232). One binary, two revisions, one GPU. Either complete the Orbit half as #469 did (describe() takes requirement from authorized.identity()?.hardware when in PLATFORMS, capability_revision for legacy) or state that Orbit stays gb202.
- Description errors persist: "prevents crashes" is Err(invalid("NVML reports unsupported GPU PCI id {:#010x}")) at heliopause/src/export/capture.rs:2079-2085; "different cache sizes" is unimplemented (L2 read live, docs/model-preparation.md:205-209, ignition/preparation/startup_tuning.py:89,155; no
l2match in helios/src). Platform string only reaches naming (naming.rs:76-133), hub revision (hub.rs:2473,2490,2963,3115), signed identity (heliopause/src/export/conversion.rs:402), distribution receiver (distribution.rs:159-160,717-727), Orbit revision. Right rationale: SM count/bus/VRAM/tuning geometry — weaker than #469 since both are CC 12.0. - Evidence:
cargo test --manifest-path helios/Cargo.tomlcan't run it (lib.rs:22-23 cfg runtime-core; CI uses --features runtime-core,server per native-serving.yml:63,68). flare-cli claim now vacuous (only edit is cli.rs:175 doc comment). Missing theflaresuite it actually touches. No export transcript / entry name / run output for the 5060 Ti. - Rebase: branch GB300_DEVICES = [0x31c3] (naming.rs:39) vs main [0x31c2,0x31c3] (#529 merged 2026-11-25).
SHOULD FIX: disclose no gb206 Hub revision exists (use --revision gb202; build_target_match goes Some(false) -> Windows desktop "published build mismatch" badge, flare-winui/bridge/src/lib.rs:707); docs/cli-design.md:901 -tp1 retry list stale (code: starts_with("gb") && PLATFORMS.contains, hub.rs:3113-3116).
NITS: naming.rs:56 missing semicolon (compiles; no rustfmt check in workflows); docs/orbit.md:321 omits ga102.
SIMPLER ALTERNATIVE: add the nine ids to GB202_DEVICES — one line, no PLATFORMS/fixture/Orbit/docs change, consistent with Orbit's (12,0)=>gb202; cost is a 5060 Ti core routable to a 96 GB RTX PRO 6000 (load check is numeric only, runtime_core/mod.rs:337-346). If separation is wanted (as #469 argues), land it via one shared shape with #469.
COST: ~20 lines, no kernel/per-model branch, no risk to old cores (schema.rs:232 bounds only length).