Skip to content

[None][fix] Regenerate LLM-args golden manifest for sparse_attention_config.uses_spcompress - #19493

Merged
MartinMarciniszyn merged 1 commit into
NVIDIA:mainfrom
brnguyen2:fix-golden-manifest-uses-spcompress
Sep 21, 2026
Merged

MartinMarciniszyn merged 1 commit into
NVIDIA:mainfrom
brnguyen2:fix-golden-manifest-uses-spcompress

Conversation

@brnguyen2

@brnguyen2 brnguyen2 commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

test_build_capture_manifest_matches_committed_golden is failing on main and on every open PR based on it. #19024 ([None][feat] Enable 2:4 activation-sparsity FMHA on SM107) added a new field:

class SkipSoftmaxAttentionConfig(BaseSparseAttentionConfig):
    uses_spcompress: bool = Field(
        default=False,
        description="Whether to enable spcompress (context phase, SM107 only).")

SkipSoftmaxAttentionConfig is one arm of the sparse_attention_config union, so this adds a new manifest path sparse_attention_config.uses_spcompress. The committed tensorrt_llm/usage/llm_args_golden_manifest.json was not regenerated, so the committed manifest no longer matches the generated one and the check test fails.

Fix

Add the missing row for sparse_attention_config.uses_spcompress (a plain bool, so capture_policy: "bool", kind: "value" — identical to sibling bool fields), inserted in path-sorted order between use_self_sampling_topk and window_size.

Verification

The manifest test runs in this PR's own CI (generate_llm_args_golden_manifest.py --check), which is the authoritative validator that the committed manifest matches the generated output.

This is a new telemetry manifest field and requires telemetry/privacy CODEOWNER approval.

Dev Engineer Review

The manifest adds sparse_attention_config.uses_spcompress as a boolean value in path-sorted order. This aligns the manifest with SkipSoftmaxAttentionConfig. No source-code or public API changes are present.

QA Engineer Review

No test changes.

Per-File QA Perspective

  • tensorrt_llm/usage/llm_args_golden_manifest.json: This configuration update adds manifest coverage for sparse_attention_config.uses_spcompress. The manifest generator check should verify synchronization with the argument declarations; its result is not available here.

…config.uses_spcompress

NVIDIA#19024 added SkipSoftmaxAttentionConfig.uses_spcompress (a bool field on one arm
of the sparse_attention_config union) without regenerating the committed golden
manifest, so test_build_capture_manifest_matches_committed_golden fails on every
PR based on current main. Add the missing row for
sparse_attention_config.uses_spcompress so the committed manifest matches the
generated one again.

Signed-off-by: Brian Nguyen <[email protected]>
@brnguyen2
brnguyen2 requested review from a team as code owners September 21, 2026 12:04
@brnguyen2

Copy link
Copy Markdown
Collaborator Author

/bot run

@coderabbitai

coderabbitai Bot commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: NVIDIA/TensorRT-LLM/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: e41ad0fb-5b3b-4f10-8a4a-f0d353e7d3c3

📥 Commits

Reviewing files that changed from the base of the PR and between db98912 and 946a32c.

📒 Files selected for processing (1)
  • tensorrt_llm/usage/llm_args_golden_manifest.json

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


Walkthrough

The TorchLlmArgs golden manifest now includes the sparse_attention_config.uses_spcompress boolean entry.

Changes

TorchLlmArgs manifest

Layer / File(s) Summary
Sparse attention manifest entry
tensorrt_llm/usage/llm_args_golden_manifest.json
Adds the sparse_attention_config.uses_spcompress boolean value to the manifest.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Bug fix

Suggested reviewers: mgluhovskoi

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title follows the required [None][fix] format and clearly identifies regeneration of the LLM-args golden manifest for sparse_attention_config.uses_spcompress.
Description check ✅ Passed The description clearly explains the failure, root cause, fix, verification method, and required CODEOWNER approval. It does not reproduce the template headings or checklist, but it contains the criti…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #74810 [ run ] triggered by Bot. Commit: 946a32c Link to invocation

@github-actions

Copy link
Copy Markdown

Automatically added "ci: full pre-merge approved" because this PR has satisfied the required GitHub review approvals. Unresolved review conversations and other required checks remain independent merge requirements.

@MartinMarciniszyn
MartinMarciniszyn enabled auto-merge (squash) September 21, 2026 13:53
@brnguyen2 brnguyen2 added the api-compatible Accepted LLM API contract change that is backwards-compatible label Sep 21, 2026
@brnguyen2

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #74810 [ run ] completed with state SUCCESS. Commit: 946a32c
/LLM/main/L0_MergeRequest_PR pipeline #61586 completed with status: 'FAILURE'

CI Report

⚠️ Action Required:

  • Please check the failed tests and fix your PR
  • If you cannot view the failures, ask the CI triggerer to share details
  • Once fixed, request an NVIDIA team member to trigger CI again

CI Agent Failure Analysis

Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #74830 [ run ] triggered by Bot. Commit: 946a32c Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #74830 [ run ] completed with state SUCCESS. Commit: 946a32c
/LLM/main/L0_MergeRequest_PR pipeline #61601 completed with status: 'SUCCESS'

CI Report

Link to invocation

@MartinMarciniszyn
MartinMarciniszyn merged commit 0d4304a into NVIDIA:main Sep 21, 2026
21 of 24 checks passed
farazkh80 added a commit to farazkh80/TensorRT-LLM that referenced this pull request Oct 15, 2026
…atches_committed_golden

The golden manifest on release/1.3 is current (regenerated in NVIDIA#19493 via
129655f), so re-enable the premerge privacy gate. Branch-specific
counterpart of NVIDIA#20077/NVIDIA#20057 on main.

Signed-off-by: Faraz Khoubsirat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-compatible Accepted LLM API contract change that is backwards-compatible ci: full pre-merge approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants