Skip to content

[https://nvbugs/6737124][fix] Get rid of incorrect assertion for DSv4 E2E test - #19554

Merged
2ez4bz merged 2 commits into
NVIDIA:mainfrom
2ez4bz:dev-dsv4-acc-test
Sep 23, 2026
Merged

2ez4bz merged 2 commits into
NVIDIA:mainfrom
2ez4bz:dev-dsv4-acc-test

Conversation

@2ez4bz

@2ez4bz 2ez4bz commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Dev Engineer Review

Removed the redundant >= accuracy assertion from the DeepSeek V4 Pro GSM8K test. No production code or API behavior changed.

QA Engineer Review

Modified the GSM8K integration test and removed its waiver from tests/integration/test_lists/waives.txt. The supplied information does not establish whether the test is listed in the CI or manual-QA lists. The PR objectives report mixed CI results, including a failed run; the latest run has no result shown. Coverage verdict: needs follow-up.

Per-File QA Perspective

  • tests/integration/defs/accuracy/test_llm_api_pytorch.py: Covers DeepSeek V4 Pro GSM8K evaluation. The test no longer checks its returned score against the recorded reference accuracy; CI and manual-QA list membership are not established by the supplied evidence.
  • tests/integration/test_lists/waives.txt: Removes the waiver for TestDeepSeekV4Pro::test_gsm8k_full_accuracy, so this test is no longer skipped through this entry.

Description

The previous >= assertion was both redundant and inappropriate.

Test Coverage

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.

@coderabbitai

coderabbitai Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their 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: a5d4cbd5-2615-4dc3-9db3-1f65d578caf5

📥 Commits

Reviewing files that changed from the base of the PR and between 4900940 and 10ec715.

📒 Files selected for processing (1)
  • tests/integration/defs/accuracy/test_llm_api_pytorch.py

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


Walkthrough

The DeepSeek V4 Pro GSM8K test still runs its evaluation, but no longer checks the score against the reference accuracy. The corresponding waiver entry is removed.

Changes

Accuracy validation

Layer / File(s) Summary
Remove GSM8K threshold assertion
tests/integration/defs/accuracy/test_llm_api_pytorch.py, tests/integration/test_lists/waives.txt
The test still runs the GSM8K evaluation without comparing its score with acc_params.ref_accuracy. The associated skip record and bug reference are removed.

Priority: ⬇️ Low

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

Change: Other

Suggested reviewers: bowenfu

Merge Risk: ⚪ Minimal · up to 10ec7

The direct assertion is removed, but evaluation still validates accuracy; the test remains skipped on the ordinary lower-GPU selection. No concrete merge blocker is established.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title follows the repository format and clearly identifies removal of the incorrect assertion from the DSv4 end-to-end test.
Description check ✅ Passed The description explains the assertion change and its rationale. The Test Coverage section is blank, but the existing test remains in place and the change is limited to removing its assertion.
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.
  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

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

@2ez4bz

2ez4bz commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #75090 [ run ] triggered by Bot. Commit: 4900940 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #75090 [ run ] completed with state SUCCESS. Commit: 4900940
/LLM/main/L0_MergeRequest_PR pipeline #61842 completed with status: 'UNSTABLE'

CI Report

⚠️ Multi-GPU Label Required:
Multi-GPU tests require the ci: full pre-merge approved label on this PR. Either:

  • Ask a member of NVIDIA/trt-llm-ci-approvers to add the label, or
  • Wait for the PR to be fully approved — the label is added automatically once approval is complete.
    Then re-trigger CI with the same bot command (no rebase needed).

⚠️ 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

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.

@2ez4bz

2ez4bz commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@2ez4bz
2ez4bz enabled auto-merge (squash) September 22, 2026 22:36
@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #75124 [ run ] triggered by Bot. Commit: 4900940 Link to invocation

@brnguyen2 brnguyen2 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.

Approving — the comments below are optional touch-ups, not blockers.

Right call — AccuracyTask.evaluate() already ends with hypothesis_testing_params.assert_passing(score) (accuracy_core.py:440) against the computed threshold, so the removed line was a stricter zero-variance duplicate.

Two follow-ups:

  • The same assert score >= acc_params.ref_accuracy is still in the sibling TestDeepSeekV4ProDSpark::test_gsm8k_dep8_megamoe_deepgemm (test_llm_api_pytorch.py:2401), also listed in l0_dgx_b200.yml. It will fail the same way; worth removing here.
  • score = task.evaluate(...) is now an unused assignment in the modified test — drop the binding.

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #75124 [ run ] completed with state FAILURE. Commit: 4900940
/LLM/main/L0_MergeRequest_PR pipeline #61877 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

Signed-off-by: William Zhang <[email protected]>
@2ez4bz

2ez4bz commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator Author

/bot run

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #75174 [ run ] triggered by Bot. Commit: 10ec715 Link to invocation

@tensorrt-cicd

Copy link
Copy Markdown
Collaborator

PR_Github #75174 [ run ] completed with state SUCCESS. Commit: 10ec715
/LLM/main/L0_MergeRequest_PR pipeline #61924 completed with status: 'SUCCESS'

CI Report

Link to invocation

@2ez4bz
2ez4bz merged commit c61417c into NVIDIA:main Sep 23, 2026
11 checks passed
reasonsolo added a commit to tensorrt-cicd/TensorRT-LLM that referenced this pull request Oct 29, 2026
…m the DeepSeek-V4-Pro DSpark tests

Both TestDeepSeekV4ProDSpark tests asserted score >= ref_accuracy (95.9)
on top of the harness's hypothesis test (threshold 92.70). The reference
was set from a single run, but greedy GSM8K at DEP4 varies run to run
through batch-dependent numerics: eleven runs on 4x GB300 scored
95.72-96.40 (mean 96.01, std 0.19), so the floor failed about one run
in four with no regression. Rely on the hypothesis test as the other
accuracy tests do, matching NVIDIA#19554 for TestDeepSeekV4Pro. The
acceptance-length gates are kept.

Signed-off-by: Lizhi Zhou <[email protected]>
reasonsolo added a commit to tensorrt-cicd/TensorRT-LLM that referenced this pull request Oct 30, 2026
…m the DeepSeek-V4-Pro DSpark tests

Both TestDeepSeekV4ProDSpark tests asserted score >= ref_accuracy (95.9)
on top of the harness's hypothesis test (threshold 92.70). The reference
was set from a single run, but greedy GSM8K at DEP4 varies run to run
through batch-dependent numerics: eleven runs on 4x GB300 scored
95.72-96.40 (mean 96.01, std 0.19), so the floor failed about one run
in four with no regression. Rely on the hypothesis test as the other
accuracy tests do, matching NVIDIA#19554 for TestDeepSeekV4Pro. The
acceptance-length gates are kept.

Signed-off-by: Lizhi Zhou <[email protected]>
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.

7 participants