Repository navigation
Recognize GB300 DGX Station GPU device ID 0x31c2 - #221
YouNeedCryDear wants to merge 1 commit into
Conversation
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>
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>
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>
|
Categorized as a package-export bug ( |
|
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
left a comment
There was a problem hiding this comment.
The device ID belongs in the table, but this can't merge: the file it edits no longer exists on main.
- Rebase onto main.
helios/src/package/naming.rsmoved tohelios/src/core/naming.rs; on main the table isGB300_DEVICESat line 33. GitHub reports the branch as conflicting. - Test the IDs themselves. The test loops over
GB300_DEVICES, so it still passes if0x31c2is removed from the table. Assert0x31c2and0x31c3literally. - 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=csvfrom the DGX Station and the error that main gives on that host. - After rebasing, review the commit against main's
docs/design-review.mdand update theDesign-Signed-Off-Bydigest;4d3amatches the old base.
|
A case file has been opened for 221. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Review StoppedAuto-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. |
|
Superceded by merged PR #529 |
Summary
Recognize PCI device ID
0x31c2as 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 report0x31c2. The platform table test now checks every GB300 identifier, as it does for GB10 and GB202.Evidence
cargo test --manifest-path helios/Cargo.toml --features runtime-package --lib package::naming: 6 passed (host without a GB300).0x31c2succeeded with this identifier; they were not repeated from this branch.Merge Danger
Door: Two-way.
Blast Radius: GB300 platform naming in package export and loading.
0x31c3systems keep thegb300name.🤖 Generated with Claude Code