Repository navigation
[https://nvbugs/6737124][fix] Get rid of incorrect assertion for DSv4 E2E test - #19554
Conversation
|
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 configurationConfiguration used: Repository: NVIDIA/TensorRT-LLM/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe 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. ChangesAccuracy validation
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to 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)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
… E2E test Signed-off-by: William Zhang <[email protected]>
0aacc4f to
4900940
Compare
|
/bot run |
|
PR_Github #75090 [ run ] triggered by Bot. Commit: |
|
PR_Github #75090 [ run ] completed with state
|
|
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. |
|
/bot run |
|
PR_Github #75124 [ run ] triggered by Bot. Commit: |
brnguyen2
left a comment
There was a problem hiding this comment.
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_accuracyis still in the siblingTestDeepSeekV4ProDSpark::test_gsm8k_dep8_megamoe_deepgemm(test_llm_api_pytorch.py:2401), also listed inl0_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.
|
PR_Github #75124 [ run ] completed with state
|
Signed-off-by: William Zhang <[email protected]>
|
/bot run |
|
PR_Github #75174 [ run ] triggered by Bot. Commit: |
|
PR_Github #75174 [ run ] completed with state |
…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]>
…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]>
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 forTestDeepSeekV4Pro::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-compatibleorapi-breaking. Forapi-breaking, includeBREAKINGin 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.