Repository navigation
[https://nvbugs/7141591][fix] Restore B300 Helix context test coverage - #23012
trtllm-agent wants to merge 1 commit into
Conversation
Remove the B300 attention/multi_gpu wrapper waiver and the four context-head variant waivers from tests/integration/test_lists/waives.txt. PR NVIDIA#22846 aligns the fixture's cache and attention mappings and its decode metadata. This follow-up changes no kernels, assertions, tolerances or test registrations. Keep the broader GB300 attention wrapper waiver: its staged-KV input fingerprint check still fails, and PR NVIDIA#22611 addresses that separate issue. Signed-off-by: trtllm-agent <296075020+trtllm-agent@users.noreply.github.com>
|
No actionable comments were generated in the recent review. WalkthroughThe integration test waiver list now targets the attention directory and ignores only ChangesAttention test waivers
Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Other Merge Risk:
|
trtllm-agent-review
left a comment
There was a problem hiding this comment.
Thanks for the PR. This PR removes five nvbugs/7141591 waives so the B300 multi-GPU attention entry and four Helix context-head CP=2 cases run again in post-merge CI, now that the #22846 fixture fix is on main; the GB300 attention waive stays.
Reviewed at commit ac51c13a70 (1 file, +0/−5).
This change only edits the CI waive list, so the review looks for blockers only: whether each removal takes effect and whether the re-enabled tests can break CI. It found none.
Approve: no Blocker found.
What this review checked
- Each removal takes effect. The removed outer waive is exactly the
tests/integration/test_lists/test-db/l0_dgx_b300.yml:28entry without its TIMEOUT, and the four inner ids are realpytest.paramids intests/unittest/_torch/attention/multi_gpu/test_mla_helix_context.py:161-172. No other waive or in-code skip keeps these cases off. - The fix is on the base and matches what was waived. 6870ae4 (#22846, same bug) is an ancestor of the reviewed base. The four waived ids are exactly the CP=2 cases of the pre-fix test, and the set lacks
bf16-no-gate-tp1-cp4, the case #22846 added that any post-fix 4-GPU B300 run collects. - After merge, the B300 entry runs in DGX_B300-4_GPUs-PyTorch-Post-Merge-1/2. These stages have the four GPUs
fp8-gate-tp2-cp2needs, and the entry's recorded 4034 s fits its 120-minute TIMEOUT.test_helix_zero_kv.pykeeps its own pre-merge entry (tests/integration/test_lists/test-db/l0_dgx_b300.yml:123). - Not covered: No GPU run: the re-enabled cases need four B300 GPUs.
- Not covered: The commit that post-merge 3094 tested is not recorded in the repository; the PR's local B300 and GB300 runs were taken as described, not reproduced.
Automated review by trtllm-agent-review. If a point is wrong, reply in its thread. Once you have pushed code changes and replied in every Blocker thread, the bot re-checks the Blockers within a few hours. A Blocker you think should not be fixed needs no code change: reply in its thread with the reason and the evidence.
|
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 #87831 [ run ] triggered by Bot. Commit: |
|
PR_Github #87831 [ run ] completed with state |
Summary
Remove the B300 multi-GPU attention wrapper waiver and the four context-head variant waivers after the fixture repair in #22846. Retain the broader GB300 attention wrapper waiver: its staged-KV input-fingerprint mismatch is tracked separately by #22611.
This is a partial coverage follow-up, not removal of every remaining waiver for this bug.
Why Tests Only
#22846 aligns the fixture's cache and attention mappings and prepares the context/decode metadata according to the production Helix contract. This follow-up changes only
tests/integration/test_lists/waives.txt; kernels, assertions, tolerances and test registrations are unchanged.Verification
Verified main
6331024f5ba84ce0d219ccc8617f921810907773with the final five-waiver deletion, current Python/JIT source, native libraries with matching production build inputs, and four GPUs per platform:test_k3_mla_helix_context_headsfunction passes all six variants on each platform, including the four reported CP=2 comparisons and both controls, with zero failures, errors, skips or reruns. WithTLLM_FMHA_LIBS=prims_ts, actualPrimsTSFmha.run_mla_generationcalls complete on every rank of each reported case. These are the original comparisons, not a substitute neighboring test.test_unittests_v2entry below passes all 136 inner cases once, with zero failures, errors, skips or reruns. All shared-process predecessors, neighbors and controls execute. Its selector, exclusions, markers and 120-minute bound are unchanged. Actual decode in the four reported cases usesFallbackFmha.FallbackFmha. This refresh does not rerun or claim a passing full GB300 attention parent. The current staged-KV input fingerprint still disagrees with the checked-in inputs, so that broader parent waiver remains.The explicit dense runs establish the original decode backend's correctness separately from default-backend passes; dense PrimTS is opt-in on these platforms following #22806.
B300 entry and its inner result:
These use the CI unittest bridge. They are parent/function-entry results, not full CI-stage or PR-CI results.
Test Coverage
tests/unittest/_torch/attention/multi_gpu/test_mla_helix_context.py::test_k3_mla_helix_context_headscovers the reported variants and controls.tests/integration/test_lists/test-db/l0_dgx_b300.ymlruns the full multi-GPU attention group, including its shared-process predecessors, chunked-history and owned-prefill cases.Fixes https://nvbugs/7141591
Dev Engineer Review
tests/integration/test_lists/waives.txt, with 0 lines added and 5 removed. No source code changed.unittest/_torch/attention/multi_gpudirectory skip. That skip also ignoredtest_helix_zero_kv.py, so that file is no longer ignored by it.test_k3_mla_helix_context_headsskip entries (bf16-no-gate-tp1-cp2, fp8-gate-tp1-cp2, fp8-gate-tp2-cp2, fp8-no-gate-tp1-cp2-unaligned-q-scale-block).unittest/_torch/attentionskip stays in place and still ignorestest_gqa_kv_replica.py.QA Engineer Review
tests/integration/test_lists/waives.txt.multi_gpudirectory skip and fourtest_k3_mla_helix_context_headsskips, all tied to nvbugs/7141591.test_helix_zero_kv.pyand the four context-head variants now run instead of being skipped.test_k3_mla_helix_context_headsvariants pass on B300 and GB300 with dense PrimTS, and on GB300 with default dispatch. The author reports all 136 inner cases oftest_unittests_v2pass on B300. These are parent or function-entry results, not full CI results.Per-File QA Perspective
tests/integration/test_lists/waives.txt: Re-enablestest_helix_zero_kv.pyand fourtest_k3_mla_helix_context_headsvariants. QA should confirm these pass on B300 and GB300 in CI.