Skip to content

[https://nvbugs/6985375][test] Remove waiver for the mixed-precision retained-dtype test - #21227

Merged
Hudayday merged 1 commit into
NVIDIA:mainfrom
Hudayday:unwaive-mixed-precision-retained-dtype-6985375
Oct 29, 2026
Merged

Hudayday merged 1 commit into
NVIDIA:mainfrom
Hudayday:unwaive-mixed-precision-retained-dtype-6985375

Conversation

@Hudayday

@Hudayday Hudayday commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Dev Engineer Review

The change removes the waiver for test_mixed_precision_retained_dtype_must_match_model_dtype from tests/integration/test_lists/waives.txt. It changes no runtime code. The stated rationale is that the test’s config stub now includes sparse_attention_config, so the waiver is no longer needed.

QA Engineer Review

The test-list change removes one waiver entry for the mixed-precision retained-dtype test. The author reports that the test passes in the CPU-Generic stage and that pre-commit, including test-list validation, passes; these results were not independently verified here. Coverage verdict: needs follow-up to confirm the test remains unwaived and passes in CI.

Per-File QA Perspective

  • tests/integration/test_lists/waives.txt: Removes the waiver for the named test. QA should confirm the test runs without the waiver in the appropriate CI stage.

Description

Removes the waiver for
unittest/_torch/attention/test_mixed_precision_backends.py::test_mixed_precision_retained_dtype_must_match_model_dtype
from tests/integration/test_lists/waives.txt.

The test broke on main on 2026-10-24 by a merge race: #20167 started reading
model_config.sparse_attention_config unconditionally three hours before #20452
merged with a config stub that lacked the field, so #20452's pre-merge CI could not
see the failure. #20927 waived the test; #18843 then added
sparse_attention_config=None to the stub on 2026-10-26, so the test passes on main
again and the waiver is no longer needed.

Resolves https://nvbugs/6985375 (https://nvbugs/6985374 is a duplicate filed from the
same build). Test-list change only; no runtime impact.

Test Coverage

The unwaived test itself, test_mixed_precision_retained_dtype_must_match_model_dtype
(CPU-Generic stage). Pre-commit, including the test-list validation hook, passes on the
change.

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

…retained-dtype test

The test broke on main on 2026-10-24 by a merge race: NVIDIA#20167 started reading
model_config.sparse_attention_config unconditionally three hours before NVIDIA#20452
merged with a config stub that lacked the field. NVIDIA#18843 added the field to the
stub on 2026-10-26, so the test passes on main again and the waiver added
by NVIDIA#20927 is no longer needed.

Signed-off-by: Tianrui 'Hudayday' Hu <32944717+Hudayday@users.noreply.github.com>
@Hudayday
Hudayday enabled auto-merge (squash) October 29, 2026 03:03
@Hudayday

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@Hudayday
Hudayday requested review from brnguyen2, chzblych and mzweilz and removed request for chzblych and mzweilz October 29, 2026 03:04
@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 25f7221 and 27d0be0.

Files selected for processing: 1
  • tests/integration/test_lists/waives.txt
Files with no reviewable changes: 1
  • tests/integration/test_lists/waives.txt

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

Walkthrough

The integration test skip list no longer contains the waiver for test_mixed_precision_retained_dtype_must_match_model_dtype, previously associated with NVBug 6985375.

Changes

Mixed-precision test waiver

Layer / File(s) Summary
Remove the test waiver
tests/integration/test_lists/waives.txt
The skip-list entry for test_mixed_precision_retained_dtype_must_match_model_dtype was removed.

Priority: Low

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

Change: Other

Suggested reviewers: trtllm-agent

Merge Risk: Minimal · up to 27d0b

No merge-blocking issue is identified; the waiver removal is ready for normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title follows the repository template: it has an NVBugs ID tag, a [test] type, and a short summary. It names the main change, which is removing the waiver for the mixed-precision retained-dtype te…
Description check Passed The description covers the required parts of the template. It explains the problem (a merge race that broke the test on main), the fix (removing the waiver), and the NVBug link. It also gives test cov…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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.
Full details: Title check

Explanation

The title follows the repository template: it has an NVBugs ID tag, a [test] type, and a short summary. It names the main change, which is removing the waiver for the mixed-precision retained-dtype test. The title is concise and specific.

Full details: Description check

Explanation

The description covers the required parts of the template. It explains the problem (a merge race that broke the test on main), the fix (removing the waiver), and the NVBug link. It also gives test coverage details and a completed checklist. The template's Test Coverage section is filled in, and the checklist is ticked. The description is mostly complete.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@Hudayday

Copy link
Copy Markdown
Collaborator Author

/bot run --disable-fail-fast

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81320 [ run ] triggered by Bot. Commit: 27d0be0 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.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #81320 [ run ] completed with state SUCCESS. Commit: 27d0be0
/LLM/main/L0_MergeRequest_PR pipeline #67004 completed with status: 'SUCCESS'

CI Report

Link to invocation

@Hudayday
Hudayday merged commit ec91fb8 into NVIDIA:main Oct 29, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants