#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.