Skip to content

Recognize GB300 DGX Station GPU device ID 0x31c2 - #221

Closed
YouNeedCryDear wants to merge 1 commit into
NVIDIA:mainfrom
YouNeedCryDear:YouNeedCryDear/gb300-pci-0x31c2
Closed

YouNeedCryDear wants to merge 1 commit into
NVIDIA:mainfrom
YouNeedCryDear:YouNeedCryDear/gb300-pci-0x31c2

Conversation

@YouNeedCryDear

Copy link
Copy Markdown

Summary

Recognize PCI device ID 0x31c2 as the SM103 GPU of DGX Station GB300. Package export names deployments from the capture device's PCI ID and fails with "export naming requires the capture device identity" on Stations that report 0x31c2. The platform table test now checks every GB300 identifier, as it does for GB10 and GB202.

Evidence

Merge Danger

Door: Two-way.

Blast Radius: GB300 platform naming in package export and loading. 0x31c3 systems keep the gb300 name.

🤖 Generated with Claude Code

Some DGX Station GB300 systems report PCI device ID 0x31c2 for their SM103
GPU. Package export maps the capture device's PCI ID to a platform name and
fails with "export naming requires the capture device identity" when the ID is
unknown. Add 0x31c2 to GB300_DEVICES beside 0x31c3, and check every GB300
identifier in the platform table test, as the GB10 and GB202 tables are checked.

Compatibility: 0x31c3 systems keep the gb300 platform name, and 0x31c2 systems
now export under the same name.

Validation: cargo test --manifest-path helios/Cargo.toml --features
runtime-package --lib package::naming passed (6 tests) on a host without a
GB300. Full-checkpoint Inkling-Small and Muse Glimmer exports on a DGX Station
reporting 0x31c2 succeeded with this identifier in NVIDIA#191 and NVIDIA#192; they were not
repeated from this branch.

Design-Signed-Off-By: Claude Opus 5.5; design-review=4d3a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Arthur <xuyangc@nvidia.com>
YouNeedCryDear added a commit to YouNeedCryDear/flare-local-inference that referenced this pull request Nov 6, 2026
The recipe also prepared two-GPU, two-Spark RoCE, and SM120/SM121
configurations that were never validated with the full checkpoint, and the
planner selected them automatically when TP1 did not fit. Inkling-Small NVFP4
preparation now accepts only TP1 on one SM103 GPU (GB300 DGX Station), the
configuration validated by full-checkpoint export and native serving: the
recipe declares only TP1 rank costs, prepare() rejects other world sizes, and
bootstrap rejects non-SM103 devices before loading the checkpoint. Placement,
rank-group, and collective setup and their tests are removed. The SM120/SM121
b12x branch in InklingWeightLoader._nvfp4_experts is reached only by tests;
docs/TODO.txt tracks its removal and multi-GPU support.

Recognition of GB300 PCI ID 0x31c2 moves to NVIDIA#221, which export on such
systems requires.

Other changes, with no kernel or expert-packing changes:
- Helios selects TML envelope control markers with one match, dispatches the
  TML grammar from compile_envelope, and keeps TML delimiter constants private.
- Global attention layers share one PagedAttentionMetadata per decoder, as
  Gemma 4 and Nemotron-H do. Inactive rows now receive zero KV length and slot
  -1 for negative page entries; active rows are unchanged.
- Shared experts are prepared as gate/up and down projections, so their unused
  SwiGLU activation plans are no longer declared and tuned.
- Relative paged attention and residual convolution drop unused workspace
  arguments.
- Tests use the NVFP4 reference helpers in ignition.reference.qwen38_quant,
  fold the BF16 expert SiLU test into
  tests/recipes/muse_spark/test_experts_cuda.py, derive declared cache costs
  from checkpoint geometry, and remove duplicate server cases.
- The preparation guide states the configuration instead of a validation report.

Validation on an 8 GB SM120 laptop GPU with locked FlashInfer 1f8ed8a3:
relative attention and residual convolution operator tests, reduced decoder
replay and inactive-row tests, the BF16 expert test, frontend template parity
against the pinned checkpoint's tokenizer and template, the ignored Helios TML
request test, CPU recipe and planner tests, and the Helios library suite
passed. The decoder tests ran the b12x expert path, not the SM103 CuTe path.
Failures that also occur on main: two sampling-default expectations, four Helios
tests that need FLARE_TEST_TEMPLATE_DIR, and four CLI alias-list tests whose
lists omit qwen3.8-27b-qad. The operator package test stops at export because
NVML rejects the laptop GPU's PCI ID. Not run: SM103 expert tests, reduced
and full-checkpoint preparation, export, and tests/server/test_inkling.py on a
GB300.

Design-Signed-Off-By: Claude Opus 5.5; design-review=4d3a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Arthur <xuyangc@nvidia.com>
YouNeedCryDear added a commit to YouNeedCryDear/flare-local-inference that referenced this pull request Nov 6, 2026
The Muse Glimmer recipe and its tests duplicated shared code: the recipient
parser kept its own copy of the XTML control-marker helpers, every attention
layer recomputed paged-attention metadata, and the tests branched on recipe
identity and repeated Muse Spark harnesses. Recognition of GB300 PCI ID
0x31c2 moves to NVIDIA#221, which export on such systems requires.

- The recipient (ATEM) parser imports the control-marker escape, unescape, and
  partial-match helpers from the XTML parser; its literal-boundary test feeds
  text one character at a time.
- Glimmer attention layers share one PagedAttentionMetadata per decoder, as
  Gemma 4 and Nemotron-H do. Inactive rows now receive zero KV length and slot
  -1 for negative page entries; active rows are unchanged.
- The decoder applies output softcapping through the recipe's
  SoftcappedProjection, which evaluates the same expression, and rotary
  embeddings through the Transformers Muse Glimmer apply_rotary_pos_emb, which
  matched the previous BF16 results bit for bit on CPU.
- Scratch declarations list the head and attention metadata buffers; the
  projection staging tensors were already covered by the graph buffer chunks.
- TensorFP8Weight.in_features and the quantized_staging default of
  PreparedProjectionGroup are removed; neither had users.
- The Glimmer server test reuses NativeMuse and Muse Spark's concurrency and
  media-rejection tests and compares prompt tokens for template-determined
  requests. The Muse frontend test is parametrized by recipe, recipient request
  tests take per-recipe options, and checkpoint and snapshot-fork helpers are
  shared.
- The preparation guide states the configuration and open limitations instead
  of a validation report. docs/TODO.txt tracks the failing server cases and
  drops an unrelated MoE entry.

Validation on an 8 GB SM120 laptop GPU with locked FlashInfer 1f8ed8a3:
tensor-FP8 projection, Glimmer attention and snapshot-fork, and Muse Spark
snapshot-fork CUDA tests passed, as did Glimmer configuration and frontend
template parity against the pinned checkpoint metadata, the ignored Glimmer
request test, and the Helios library suite. The reduced Glimmer preparation test
fails before capture with an Inductor static-autotuner binding error that also
occurs on the unmodified branch, so the decoder-level metadata, softcapping,
and scratch changes were not exercised through preparation. Failures that also
occur on main: two sampling-default expectations and four Helios tests that need
FLARE_TEST_TEMPLATE_DIR. Not run: SM103 tensor-FP8 tests, full-checkpoint
export, and tests/server/test_muse_glimmer.py on a GB300.

Design-Signed-Off-By: Claude Opus 5.5; design-review=4d3a
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Arthur <xuyangc@nvidia.com>
@original-el8 original-el8 added area:packaging Package assembly, verification, distribution, inspection, and loading. bug Something isn't working priority:P2 Normal bug priority: workflow failure or diagnosis with narrower impact or an available workaround. triage:review Proposed change needs code review; this does not imply merge readiness. labels Nov 8, 2026
@original-el8

Copy link
Copy Markdown
Collaborator

Categorized as a package-export bug (priority:P2, triage:review). The diff adds PCI device ID 0x31c2 to the GB300 naming table and its existing test coverage. This is a shared hardware-identification fix; #191 and #192 depend on it, but it does not require either model recipe to merge. The reported six naming tests pass; an export on this exact branch and device ID remains untested.

@original-el8

original-el8 commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Updated mergeability check: head 92111ab merges cleanly into main 5fd4070. There is no local source conflict blocking this device-ID change. The earlier GitHub conflict indication should not be treated as an outstanding rebase request. This update checks mergeability; the prior device-ID test evidence remains scoped to its tested revision.

@yatesdr yatesdr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The device ID belongs in the table, but this can't merge: the file it edits no longer exists on main.

  1. Rebase onto main. helios/src/package/naming.rs moved to helios/src/core/naming.rs; on main the table is GB300_DEVICES at line 33. GitHub reports the branch as conflicting.
  2. Test the IDs themselves. The test loops over GB300_DEVICES, so it still passes if 0x31c2 is removed from the table. Assert 0x31c2 and 0x31c3 literally.
  3. Evidence from this branch. The description's evidence comes from exports in #191 and #192, which are still open. Post nvidia-smi --query-gpu=name,pci.device_id,compute_cap --format=csv from the DGX Station and the error that main gives on that host.
  4. After rebasing, review the commit against main's docs/design-review.md and update the Design-Signed-Off-By digest; 4d3a matches the old base.

@flare-autobot

Copy link
Copy Markdown
Collaborator

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

Future reviews will auto-run 90 minutes after code updates are pushed.

  • Re-review sooner: Call @flare-autobot after push.
  • Opt-out: Include #autobot:ignore in the PR or any comment.

@flare-autobot

Copy link
Copy Markdown
Collaborator

Review Stopped

Auto-Review halted due to finding: It was already fixed another way (merged or on the main branch), or is no longer needed for another reason.
Value Proposition Report

@eugr

eugr commented Nov 26, 2026

Copy link
Copy Markdown
Collaborator

Superceded by merged PR #529

@eugr eugr closed this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:packaging Package assembly, verification, distribution, inspection, and loading. bug Something isn't working priority:P2 Normal bug priority: workflow failure or diagnosis with narrower impact or an available workaround. triage:review Proposed change needs code review; this does not imply merge readiness.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants