Skip to content

feat: add gb206 platform support - #502

Merged
lukealonso merged 3 commits into
NVIDIA:mainfrom
wektorz:feat/gb206-platform
Nov 28, 2026
Merged

lukealonso merged 3 commits into
NVIDIA:mainfrom
wektorz:feat/gb206-platform

Conversation

@wektorz

@wektorz wektorz commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

1. Why is this change being proposed?

Resolves unsupported GPU PCI ID errors on NVIDIA Blackwell GB206-based GPUs (such as the GeForce RTX 5060 Ti 16GB) by adding gb206 support for Hub revision selection and device identity.

2. What exactly did this PR change?

  • helios/src/core/naming.rs: Added gb206 platform support, defined 9 NVIDIA GB206 PCI device IDs, and added corresponding unit tests.
  • flare/src/catalog.rs: Updated platform branch test fixtures.
  • flare-cli/src/cli.rs & documentation: Updated platform lists and revision selection docs to include gb206.

3. What is the claimed benefit or result?

  • Enables local model core export and Hub revision detection on GB206 hardware.

4. What evidence supports those claims?

  • Unit tests: Passed test suites in helios and flare.
  • Tested hardware: Verified on GeForce RTX 5060 Ti 16GB (0x2d04).

Discord: wektor

Signed-off-by: Wiktor Zdrojewski <[email protected]>
@flare-autobot

Copy link
Copy Markdown
Collaborator

A case file has been opened for 502.
Case File Intake Report

To opt out, include #autobot:ignore in the PR or any comment.

@flare-autobot

Copy link
Copy Markdown
Collaborator

Autobot Review

Full Review for Agents.

Recommendation: Changes Requested

Case file with full evidence: https://autobot.eidonix.com/api/v1/cases/9923ce41-1e13-45d6-8d89-c2406206e9ff.html

The nine GB206 PCI ids are correct, disjoint from every existing table, and the scope is right (same family as merged #300 / open #469) — the problem is that the change is unfinished: adding a fifth platform name breaks an existing CI test, and the flare-cli hunk makes Orbit refuse to place the very cores the PR is about.

Blockers:

  • CI goes red. flare/src/catalog.rs:548-569 loops PLATFORMS against a hardcoded four-branch fixture (:561-563), so "gb206" fails the asserts at :566-567; .github/workflows/native-serving.yml:77 (not opened) runs that suite. → Run cargo test --locked --release --manifest-path flare/Cargo.toml and derive the fixture from PLATFORMS (add {"name":"gb206-tp1"} at minimum).
  • Orbit can't place a GB206 core. Hosts now report gb206 (orbit/gpu.rs:319-321) but a core's requirement is still capability_revision(12,0) == "gb202" (orbit/controller.rs:2293-2295), compared exactly at orbit/plan.rs:693-696 — so nothing places, including on the 5060 Ti. → Take the requirement from the core's signed identity()?.hardware when it is a PLATFORMS name (Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469's core_revision), plus a placement test; or drop the flare-cli hunk entirely, since the ignition fix comes from the helios change alone.

Should fix:

  • Delete the duplicated PCI table. orbit/gpu.rs:309-324 is a private copy that naming.rs:17-20 explicitly forbids and has already drifted (0x2bbc, one of five GB10 ids, no ga102/gb300). → revision = platform_from_pci else capability_revision; land with the placement fix.
  • Docs and help text still enumerate four platforms (cli.rs:175, docs/cli-design.md:887/889-890/901/923, docs/core-format-design.md:753-754, docs/orbit.md:321, orbit/gpu.rs:38). → Add gb206 (and ga102), or point at PLATFORMS.
  • Disclose the new gb206 Hub request. Detection now asks for gb206/gb206-tp1 (flare/src/hub.rs:3104-3122), which nothing publishes, replacing an actionable error; Orbit inherits it. → One sentence: use --revision gb202 until a gb206 build exists; no silent fallback.
  • Fix the description's evidence and rationale. cargo test --manifest-path helios/Cargo.toml cannot run the cited test without --features runtime-core,server (helios/src/lib.rs:22-23); "prevents crashes" is really a clean unsupported GPU PCI id error (heliopause/src/export/capture.rs:2079-2085); the 5060 Ti run and the L2/bus/VRAM rationale report no result and are read by no code.
  • Add the missing test. assert_eq!(revision(0x2d0410de, 12, 0), "gb206") beside orbit/gpu.rs:352-367, plus a literal assert_eq!(platform_from_pci(0x2d04_10de), Some("gb206")) in naming.rs (the Recognize GB300 DGX Station GPU device ID 0x31c2 #221/Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469 ask).

Nits:

5 nits

To opt out, include #autobot:ignore in your post or comment.

@wektorz
wektorz marked this pull request as draft November 26, 2026 08:54
@flare-autobot

Copy link
Copy Markdown
Collaborator

Autobot Review

Full Review for Agents · Value Proposition · Case File

Recommendation: Changes Requested

Only the PR description blocks merge — the code change itself is correct and needs no further code edits to merge.

Case file with full evidence: https://autobot.eidonix.com/api/v1/cases/9923ce41-1e13-45d6-8d89-c2406206e9ff.html

Both blockers from the previous round are fixed at 8e2ea68 and are not re-raised: the flare catalog fixture now carries {"name":"gb206"} (flare/src/catalog.rs:561-563, loop :550-568), and dropping the flare-cli Orbit arm was the right call — Orbit still reports gb202, which still matches its capability-derived requirement, so placement works. The nine ids are correct, disjoint from GB202/GB10/GA102/GB300, and correctly ordered before the GB202 tail (helios/src/core/naming.rs:27-29, :55-58). Scope matches merged #300 / open #469.

Blockers:

  • The description describes a diff that no longer exists and cites commands that cannot produce the evidence claimed. §2 still advertises the deleted flare-cli/src/orbit/gpu.rs platform(pci_id) mapping (that file is not in the diff; orbit/gpu.rs:310-321 has no GB206 arm), and §4 credits cargo test --manifest-path helios/Cargo.toml — which cannot compile the test, since helios/Cargo.toml:17 is default = [] and helios/src/lib.rs:22-23 gates core behind runtime-core — plus a flare-cli suite that contains no GB206 test. → Rewrite §2/§4 to match the five changed files and use cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server and cargo test --locked --release --manifest-path flare/Cargo.toml (not opened).

Should fix:

  • docs/cli-design.md:901 is now false. It says only gb10/gb202/gb300 get the -tp1 retry, but flare/src/hub.rs:3114-3115 retries every gb* PLATFORMS name — so gb206-tp1 is tried and ga102 is not — contradicting :887/:923 in the same section. → State the rule, not three copied names.
  • Disclose the new Hub request. Detection now asks for gb206, then gb206-tp1 on 404 (flare/src/hub.rs:3111-3122), neither published, replacing the old actionable "unsupported PCI ID …; specify --revision" (flare/src/hardware.rs:95-100). → One sentence: use --revision gb202 until a gb206 build exists. Please don't add a silent fallback.
  • Tighten three remaining claims. "Prevents crashes" is really a clean, actionable error (flare/src/hardware.rs:95-100; export: "NVML reports unsupported GPU PCI id"); the 5060 Ti run reports no command or result; the L2/bus/VRAM figures are read by no code and uncited. → Quote the errors, state what the run produced, and swap the cache rationale for the real one: the name selects the Hub revision and becomes the signed device identity.
  • Say which platform Orbit reports. flare run/download now say gb206 while Orbit says gb202 (orbit/gpu.rs:303). → One sentence: Orbit stays capability-derived here; the identity-based requirement and removal of its private table (:310-321) land with Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469. Important: do not add a GB206 arm to orbit/gpu.rs, and don't delegate its table alone — a gb206 host would then face a gb202 requirement at plan.rs:693-696, refusing every GB206 GPU, and GA102 would break too (no (8,6) arm in capability_revision). That coupling is why Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469 bundles both edits.

Subtract / Simplify:

Could remove ~41 of +19 added lines (≈9 of the added lines themselves; the rest is pre-existing scaffolding this diff is the sixth copy of):

  • Five consts + five if-arms → one table — helios/src/core/naming.rs:21-59, 39 → 22 lines. Nothing outside this file reads the individual consts and the id sets are disjoint, so a platform becomes one row. Also removes the missing ; at :56.
  • Four copies of one test loop → one — naming.rs:188-228, 41 → 17 lines. The added :205-211 loop asserts the constant it iterates, so it cannot catch a wrong id, and it duplicates the literal :219. Keep that literal and one vendor case.
  • Derive the catalog fixture from PLATFORMS — flare/src/catalog.rs:561-563 has been hand-edited for Recognize GA102 (SM86) as a platform #300, Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469 and now feat: add gb206 platform support #502; 0 net, one less recurring edit.
  • Point six stale enumerations at PLATFORMS — docs/orbit.md:321, orbit/gpu.rs:38, :222, orbit/plan.rs:38, distribution.rs:66 (not opened), plus cli-design.md:901. 0 net, one list to maintain.

Nits:

4 nits — missing ; at naming.rs:56; the "single source" comment mis-scoped above GB202_DEVICES (:17-20); the GB206_DEVICES comment naming three product families for eight untested ids (:25-26); and lines of ~120–150 columns at cli-design.md:887/:890 and core-format-design.md:754 in paragraphs wrapped at ~80.

This review is automated. Include #autobot:ignore in your post or comment to opt out.

To opt out, include #autobot:ignore in your post or comment.

@wektorz
wektorz marked this pull request as ready for review November 26, 2026 13:05
@flare-autobot

Copy link
Copy Markdown
Collaborator

Autobot Review

Full Review for Agents · Value Proposition · Case File

Recommendation: Ready To Merge

The code is correct and the two earlier blockers are fixed and not re-raised; what remains is one false doc sentence, two disclosure gaps, description evidence that cannot be reproduced as written, and a rebase. Case file with full evidence: https://autobot.eidonix.com/api/v1/cases/9923ce41-1e13-45d6-8d89-c2406206e9ff.html

Blockers:

None — nothing in the diff is a correctness, architecture or charter defect. The catalog fixture carries {"name":"gb206"} (flare/src/catalog.rs:561-563, loop :550-568) and the Orbit arm removal was right: Orbit still reports gb202, which still equals its capability-derived requirement (flare-cli/src/orbit/gpu.rs:303, orbit/controller.rs:2293-2294, orbit/plan.rs:693-696), so placement works. The nine ids (helios/src/core/naming.rs:27-29) are disjoint from GB202/GB10/GA102/GB300 and correctly ordered before the GB202 tail (:55-58).

Should fix:

  • docs/cli-design.md:901-903 is now false. It retries -tp1 only for gb10/gb202/gb300, but the gate is 404 && revision.starts_with("gb") && PLATFORMS.contains(&revision) (flare/src/hub.rs:3113-3115) — so gb206-tp1 is tried and ga102 is not, contradicting :887 and :923 in the same section. → State the rule ("any gb… platform revision"), not three copied names.
  • Disclose the new Hub request. Detection now asks for gb206, then gb206-tp1 on 404 (flare/src/hub.rs:3111-3122), neither published, replacing the old actionable GPU … has unsupported PCI ID …; specify --revision (flare/src/hardware.rs:95-100). → One sentence in §1/§3 naming --revision gb202 as the interim override. Please don't add a silent fallback (sibling Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469 disclosed exactly this for gb203).
  • Make §4 reproducible, §2 state the 4→5 change. No command, flags or result: a bare cargo test --manifest-path helios/Cargo.toml cannot compile the cited test (helios/Cargo.toml:17 default = [], helios/src/lib.rs:22-23) — use --locked --release --features runtime-core,server plus the flare suite, with results; say eight of nine ids are untested and cite pci.ids; say what the 5060 Ti run produced. §2 should say PLATFORMS went 4→5 and why a distinct name: it selects the Hub revision and becomes the signed device identity (docs/core-format-design.md:753-755).
  • Say which platform Orbit reports. flare run/download now say gb206 while Orbit says gb202 (orbit/gpu.rs:303). → One sentence: Orbit stays capability-derived here; the identity-based requirement and removal of its private table (:309-321) land with Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469. Do not add a GB206 arm or delegate that table alone — a gb206 host would face a still-gb202 requirement (plan.rs:693-696) and be refused, and GA102 would break too (no (8,6) arm in capability_revision, gpu.rs:224-231).
  • Rebase before merging. main has GB300_DEVICES: [u32; 2] = [0x31c2, 0x31c3] (naming.rs:33 on main, both asserted :188-189); this branch has [u32; 1] = [0x31c3] (:39). The merge conflicts in the exact hunk the PR edits, and a careless resolution drops 0x31c2, re-breaking the error Recognize PCI device 31c2 as GB300 #529 fixed.

Subtract / Simplify:

Could remove ~43 lines, ~16 of them of the +25 added lines (the diff drops to about +8):

  • Five *_DEVICES consts + five if-arms → one table — helios/src/core/naming.rs:17-59, 43 → 23 lines. Nothing outside this file reads the individual consts on this branch and the id sets are disjoint, so a platform becomes one row; the missing ; at :56 goes with it. (If landed, keep GB300_DEVICES as an alias or fold it in with the rebase — main's orbit/gpu.rs:315 names it.)
  • Four copies of one test loop → one — naming.rs:188-228, 41 → 18 lines. The added :205-211 loop asserts the constant it iterates, so it cannot catch a wrong id, duplicates the literal :219, and the added :220 repeats a vendor case already covered at :221/:224.
  • Derive the catalog fixture from PLATFORMS — flare/src/catalog.rs:561-563 has been hand-edited for Recognize GA102 (SM86) as a platform #300, Give GB203 (RTX PRO 4500 Blackwell) its own platform identifier #469 and now feat: add gb206 platform support #502; 0 net lines, one less recurring edit.
  • Point six stale enumerations at PLATFORMS — docs/orbit.md:321, orbit/gpu.rs:38, :222, orbit/plan.rs:38, distribution.rs:66, plus cli-design.md:901. 0 net lines, one list to maintain.

Nits:

4 nits — missing ; at naming.rs:56; the "single source" comment mis-scoped above GB202_DEVICES (:17-20); the GB206_DEVICES comment naming three product families for eight untested ids (:25-26); lines of ~120–230 columns at cli-design.md:887/:890 and core-format-design.md:754 in paragraphs wrapped at ~80.

This review is automated. Include #autobot:ignore in your post or comment to opt out.

To opt out, include #autobot:ignore in your post or comment.

Pull request NVIDIA#502 diverged from main after main added the integrated
GA10B platform identifier (`ga10b`) and an additional GB300 PCI device
identifier (`0x31c2`). Both branches updated the platform list in
`helios/src/core/naming.rs` and the all-platforms catalog test fixture
in `flare/src/catalog.rs`, preventing clean merging. Merging
`origin/main` (`2bdc8472`) resolves the conflicts without rewriting the
pull request author's signed commits.

In `helios/src/core/naming.rs`, `PLATFORMS` now has six entries combining
`origin/main`'s `ga10b` with this branch's `gb206`
(`["ga102", "ga10b", "gb10", "gb202", "gb206", "gb300"]`), while
retaining `GB300_DEVICES` (`[0x31c2, 0x31c3]`),
`platform_from_capability`, `GB206_DEVICES`, `platform_from_pci`, and
all tests from both branches. In `flare/src/catalog.rs`,
`published_build_match_uses_all_platform_branches` now lists both
`ga10b-tp1` and `gb206` in its branch fixture so every entry in
`PLATFORMS` matches. `flare-cli/src/cli.rs`, `docs/cli-design.md`, and
`docs/core-format-design.md` merged cleanly without manual edits.

The branch now merges cleanly with `main` while preserving both
`origin/main`'s GA10B and GB300 additions and this branch's GB206
platform support.

Validation on CPU (`--locked --release`):
- `helios` (`--features runtime-core,server --lib -- core::`): 483
  passed, 0 failed, 11 ignored (including `core::naming::` tests for
  `gb206`, `ga10b`, and `gb300`).
- `flare`: 228 unit tests passed (4 ignored), 7 `packed_canonical_download`
  tests passed, and 1 `reference_workflows` test passed (including
  `catalog::tests::published_build_match_uses_all_platform_branches`).
- `flare-cli`: 24 integration tests passed across `cache_commands` (7),
  `cli` (6), `inspect` (4), and `unverified_payload` (7); 196 of 197
  unit tests passed (3 ignored). One unrelated pre-existing unit test,
  `distribution::tests::source_waits_for_receiver_file_verification`,
  failed with `BrokenPipe` after its 130 s sleep on both the full run
  and an isolated rerun.
No GPU hardware detection tests were run on GB206 hardware.

Signed-off-by: Luke Alonso <[email protected]>
Design-Signed-Off-By: Antigravity (Gemini); design-review=c3a9
@lukealonso
lukealonso merged commit 9375d67 into NVIDIA:main Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants