Repository navigation
core: recognize all known Ampere and Blackwell GPU platforms and unify Orbit revision matching - #598
Merged
Merged
Conversation
…y Orbit revision matching
Why:
Automatic Hub revision detection (`flare/src/hardware.rs`), core export naming
(`heliopause/src/export/capture.rs`), and Orbit placement previously recognized
only six platforms (`ga102`, `ga10b`, `gb10`, `gb202`, `gb206`, `gb300`) and a
subset of their PCI device IDs. Any other Ampere or Blackwell GPU — such as
GB203 (RTX PRO 4500 Blackwell `0x2c31`, RTX 5080, RTX 5070 Ti), GB205 (RTX 5070),
GB207 (RTX 5050), GB100/GB102 (B200/B100/GB200), GB10B (Jetson AGX Thor),
GA100 (A100/A30), GA102 workstation cards (RTX A6000, A40, A10), or GA103/GA104/
GA106/GA107 — failed export and `flare run` with an unsupported PCI ID error,
forcing piecemeal one-die PRs. Separately, Orbit maintained a drifted private
copy of the PCI table in `flare-cli/src/orbit/gpu.rs` and derived a core's
required revision in `controller.rs::describe` only from compute capability,
which conflates distinct dies sharing a compute capability (for example SM 12.0
GB202/GB203/GB205/GB206/GB207 and SM 8.6 GA102/GA103/GA104/GA106/GA107).
What exactly changed:
- `helios/src/core/naming.rs`: expands `PLATFORMS` from 6 to 19 entries covering
all known Ampere (`ga100`, `ga102`, `ga103`, `ga104`, `ga106`, `ga107`,
`ga10b`) and Blackwell (`gb10`, `gb100`, `gb102`, `gb10b`, `gb112`, `gb120`,
`gb202`, `gb203`, `gb205`, `gb206`, `gb207`, `gb300`) GPU dies using PCI
device IDs from `pciutils/pciids` (also completing `GA102_DEVICES`,
`GB10_DEVICES`, `GB202_DEVICES`, and `GB300_DEVICES`). Replaces the chained
`if` checks in `platform_from_pci` with a single `PCI_PLATFORMS` dispatch
slice, adds `(11, 0) => Some("gb10b")` (Jetson AGX Thor) to
`platform_from_capability`, and tests disjointness, non-NVIDIA vendor
rejection, and representative IDs across every die.
- `flare-cli/src/orbit/{gpu,controller,plan}.rs`: deletes Orbit's private PCI
ID table so `gpu::revision` delegates directly to `naming::platform_from_pci`
with `capability_revision` (which now delegates integrated capabilities to
`naming::platform_from_capability`) as fallback. Adds `gpu::core_revision`
and updates `controller::describe` to read `authorized.identity()?.hardware`
so placement matches a core's signed platform identity instead of collapsing
distinct dies onto one compute-capability name, keeping `capability_revision`
only for legacy cores without a device identity.
- `flare/src/catalog.rs`: builds the multi-branch fixture in
`published_build_match_uses_all_platform_branches` from `PLATFORMS` and tests
prefix separation across `gb10` vs `gb100`/`gb102`/`gb10b` and `gb202` vs
`gb203`.
- `flare-cli/src/cli.rs`, `docs/cli-design.md`, `docs/core-format-design.md`,
`docs/orbit.md`: updates platform revision documentation, the `gb*` `-tp1`
404 retry rule, and Orbit placement semantics.
Claimed benefit:
Every known Ampere and Blackwell GPU resolves to its own die-specific platform
identifier across hardware detection, Hub revision selection, core export
naming, and Orbit placement through one shared table, preserving all existing
platform labels (`ga102`, `ga10b`, `gb10`, `gb202`, `gb206`, `gb300`) and
legacy core compatibility.
Supporting evidence and limitations:
- `cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server --lib -- core::`: 487 passed, 0 failed, 11 ignored (including `core::naming::tests::*`).
- `cargo test --release --manifest-path flare/Cargo.toml`: 234 unit tests passed (4 ignored), 7 `packed_canonical_download` passed, 1 `reference_workflows` passed.
- `cargo test --release --manifest-path flare-cli/Cargo.toml`: 24 integration tests passed (`cache_commands`: 7, `cli`: 6, `inspect`: 4, `unverified_payload`: 7); 201 of 202 unit tests passed (3 ignored), with 1 pre-existing unrelated `BrokenPipe` failure in `distribution::tests::source_waits_for_receiver_file_verification`.
- `cargo test --release --manifest-path heliopause/Cargo.toml --lib`: 211 passed, 0 failed, 6 ignored.
- Live hardware check on RTX PRO 6000 Blackwell Max-Q (`0x2bb4`): `flare hardware-revision 1` prints `gb202`.
- Limitations: `flare`, `flare-cli`, and `heliopause` ran without `--locked` locally because base commit `92a5b888` bumped `deepseek-recipe` in `helios/Cargo.toml` without updating their lockfiles (lockfiles left untouched here). Live NVML hardware was exercised only on `0x2bb4` (GB202); the other PCI IDs were verified against `pciutils/pciids` and unit tests. Repositories without a published branch for a newly recognized platform require an explicit `--revision` override until builds for that platform are published, and Orbit placement matches the core's signed platform identity exactly.
Co-Authored-By: Alexander Korolev <alexander.korolev.germany@gmail.com>
Design-Signed-Off-By: Antigravity (Gemini); design-review=c3a9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Automatic Hub revision detection (
flare/src/hardware.rs), core export naming (heliopause/src/export/capture.rs), and Orbit placement previously recognized only six platforms (ga102,ga10b,gb10,gb202,gb206,gb300) and a partial subset of their PCI device IDs. Any other Ampere or Blackwell GPU — including GB203 (RTX PRO 4500 Blackwell0x2c31, RTX 5080, RTX 5070 Ti), GB205 (RTX 5070), GB207 (RTX 5050), GB100/GB102 (B200/B100/GB200), GB10B (Jetson AGX Thor), GA100 (A100/A30), GA102 workstation cards (RTX A6000, A40, A10), and GA103/GA104/GA106/GA107 — failed export andflare runwith an unsupported PCI ID error, requiring piecemeal PRs per chip.Separately, Orbit kept a drifted private copy of the PCI table in
flare-cli/src/orbit/gpu.rsand derived a core's required revision inflare-cli/src/orbit/controller.rs::describeonly from compute capability, which collapses distinct dies sharing a compute capability (such as SM 12.0 GB202/GB203/GB205/GB206/GB207 and SM 8.6 GA102/GA103/GA104/GA106/GA107) onto one revision string.Supersedes #469 on current
main(92a5b888), preserving its Orbit single-table and signed-identitycore_revisionplacement changes (with credit) and extending platform coverage to all known Ampere and Blackwell dies in one change.What exactly changed
helios/src/core/naming.rs:PLATFORMSfrom 6 to 19 entries covering all known Ampere (ga100,ga102,ga103,ga104,ga106,ga107,ga10b) and Blackwell (gb10,gb100,gb102,gb10b,gb112,gb120,gb202,gb203,gb205,gb206,gb207,gb300) GPU dies using PCI device IDs frompciutils/pciids(also completingGA102_DEVICES,GB10_DEVICES,GB202_DEVICES, andGB300_DEVICES).ifbranches inplatform_from_pciwith a singlePCI_PLATFORMSdispatch slice, and adds(11, 0) => Some("gb10b")(Jetson AGX Thor) toplatform_from_capability.pci_ids_select_the_platform_identifierto verify every table maps intoPLATFORMS, no PCI ID is duplicated across tables, non-NVIDIA vendor IDs returnNone, representative IDs across every Ampere and Blackwell die resolve accurately, and Turing/Ada/Hopper/unlisted IDs remainNone.flare-cli/src/orbit/{gpu,controller,plan}.rs:platform()PCI table sogpu::revisiondelegates directly tonaming::platform_from_pci, falling back tocapability_revision(which delegates integrated Tegra capabilities tonaming::platform_from_capability, without mapping SM 8.6 toga102since SM 8.6 spans five dies).gpu::core_revisionand updatescontroller::describeto readauthorized.identity().map_err(|e| e.to_string())?.hardwareso placement requires the platform recorded in a core's signed device identity, keepingcapability_revisiononly for legacy cores that record no identity.flare/src/catalog.rs:published_build_match_uses_all_platform_branchesdynamically fromPLATFORMSand explicitly asserts prefix separation acrossgb10vsgb100/gb102/gb10bandgb202vsgb203.flare-cli/src/cli.rs,docs/cli-design.md,docs/core-format-design.md,docs/orbit.md:gb*-tp1404 retry rule, and Orbit's signed-identity placement behavior.Claimed benefit
Every known Ampere and Blackwell GPU resolves to its own die-specific platform identifier across hardware detection, Hub revision selection, core export naming, and Orbit placement through one shared table, eliminating piecemeal per-chip additions while preserving all existing platform names (
ga102,ga10b,gb10,gb202,gb206,gb300) and legacy core compatibility.Supporting evidence and limitations
Validated at commit
f33075fc(rebased ontomain92a5b888):cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server --lib -- core::: 487 passed, 0 failed, 11 ignored (including all 6core::naming::tests::*).cargo test --release --manifest-path flare/Cargo.toml: 234 unit tests passed (4 ignored), 7packed_canonical_downloadpassed, 1reference_workflowspassed (includingcatalog::tests::published_build_match_uses_all_platform_branches).cargo test --release --manifest-path flare-cli/Cargo.toml: 24 integration tests passed (cache_commands: 7,cli: 6,inspect: 4,unverified_payload: 7); 201 of 202 unit tests passed (3 ignored), with 1 pre-existing unrelatedBrokenPipefailure indistribution::tests::source_waits_for_receiver_file_verification.cargo test --release --manifest-path heliopause/Cargo.toml --lib: 211 passed, 0 failed, 6 ignored.0x2bb4):flare hardware-revision 1printsgb202.Limitations:
flare,flare-cli, andheliopauseran without--lockedlocally because base92a5b888bumpeddeepseek-recipeinhelios/Cargo.tomlwithout updating those crates'Cargo.lockfiles (all lockfiles remain untouched in this PR).0x2bb4(GB202) hardware was exercised live; the remaining Ampere and Blackwell PCI IDs were verified againstpciutils/pciidsand unit tests.--revisionremains the explicit Hub override forflare download/flare run, while Orbit placement matches the resolved core's signed platform identity exactly.Discord: no username provided