Repository navigation
[https://nvbugs/7044056][fix] Restore B300 attention timeout and remove stale waiver - #22409
Conversation
…rage Restore TIMEOUT (120) on the B300 post-merge multi-GPU attention entry and remove its tracking waiver. Keep existing selectors, assertions, and per-test watchdogs unchanged. Preserve the other waiver removals already on main. Fixes https://nvbugs/7044056 Signed-off-by: trtllm-agent <296075020+trtllm-agent@users.noreply.github.com>
|
No actionable comments were generated in the recent review. WalkthroughThe B300 multi-GPU attention test command now has a 120-second timeout. The waiver entry now ignores ChangesMulti-GPU Attention Test Selection
Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix Merge Risk:
|
sunnyqgg
left a comment
There was a problem hiding this comment.
No blockers: 2 Required (both about the PR description) and 2 Nice to have. The TIMEOUT (120) line itself works as intended. TIMEOUT is stripped from the node id, the same --ignore=... TIMEOUT (120) form already exists at l0_gb300_multi_gpus.yml:57, and the wrapper's subprocess has no timeout of its own, so the 7200 s bound takes effect. The removed waiver also cites this PR's bug.
- [Required] The removed waiver never applied, so "the waived coverage is restored" is not accurate. It names the pre-#21997 selector (
unittest/_torch/attention/multi_gpu --ignore=unittest/_torch/attention/multi_gpu/test_helix_zero_kv.py). But #21997 had already added--ignore=unittest/_torch/attention/multi_gpu/test_gqa_kv_replica.pyto this entry before #22311 merged, and waivers match exact node ids (apply_waives,tests/integration/defs/test_list_parser.py:711-717). So after #22311 the B300 entry was never skipped; it kept running and timing out. Deleting the line is a stale-line cleanup, and the fix is the TIMEOUT. Please correct the description, its checklist item and the "runs instead of skipping" wording in the QA block. - [Nice to have] No CI has run on this PR yet, and a default
/bot rundoes not execute post-merge entries. Please run/bot run --stage-list "DGX_B300-4_GPUs-PyTorch-Post-Merge-1,DGX_B300-4_GPUs-PyTorch-Post-Merge-2"and link the result. Optionally, add the measured ~4100 s for the current selector totests/integration/defs/.test_durations(both the bare key and thetest_unittests.py::test_unittests_v2[...]key). That file has no row for this selector yet, only the pre-#21997 one at 2171 s, so least_duration estimates the entry at the 391 s list average. The shard that receives it then runs about 3.1-3.6 h of tests while the other runs about 2.6 h, under a 240-minute walltime (#SBATCH --time=240in post-merge #3074).
|
The description, checklist and QA block now identify the waiver deletion as stale-selector cleanup: the added GQA ignore predates the waiver, and exact node-ID matching meant that line never skipped the current B300 entry. The title no longer claims coverage restoration. I cannot initiate repository CI from this bot account; the repository ignores CI-trigger commands from bots. The recorded 138/134-case results are direct full-wrapper runs, not execution of both complete post-merge shards, and I have no blossom-ci stage result for this head to link. I left |
…044056-r411 Signed-off-by: trtllm-agent <296075020+trtllm-agent@users.noreply.github.com> # Conflicts: # tests/integration/test_lists/waives.txt
brnguyen2
left a comment
There was a problem hiding this comment.
Approving — the comments below are optional touch-ups, not blockers.
Both edits are correct. Note that the timeout won't affect CI yet. [tests/integration/test_lists/waives.txt:170](https://github.com/NVIDIA/TensorRT-LLM/pull/22409/files#diff-621bd2af82a3b97c7a5948368d36c14582ffdf73361deb7f42d2ff395b22167eR170) (nvbug 7109810) matches this entry's selector exactly. The node ID doesn't include the TIMEOUT (120) suffix (pytest_generate_tests parametrizes with ids=lambda x: x), so that waiver still skips the whole suite. The 120-minute budget only takes effect once the 7109810 waiver is lifted. Please say this in the description so nobody reads this PR as re-enabling B300 multi-GPU attention coverage.
|
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. |
|
Updated the description to state explicitly that https://nvbugs/7109810 still skips the entire B300 multi-GPU attention entry. It now explains that |
|
/bot run |
|
PR_Github #86076 [ run ] triggered by Bot. Commit: |
|
PR_Github #86076 [ run ] completed with state |
Description
Give the existing B300 post-merge multi-GPU attention entry an explicit 120-minute suite timeout and remove a stale, unmatched waiver.
The broad attention entry had
TIMEOUT (120)before #20683 narrowed it tomulti_gpu/. The narrowed entry uses the default 3600-second outer watchdog. Restore the explicit suite budget without changing the test-db selectors, numerical assertions, or per-leaf watchdogs.Execution time is not uniformly over one hour. Historical passing-CI averages for the predecessor selector in
tests/integration/defs/.test_durationswere approximately 1925, 2380 and 2171 seconds in the 2026-11-02, 2026-11-09 and 2026-11-16 snapshots, respectively: roughly 32–40 minutes. Current-selector verification on the slower tested nodes took 4079.691–4104.335 seconds. The 60-minute bound can therefore terminate otherwise passing execution on affected nodes; this does not mean full-suite execution normally takes over an hour.This is a timeout mitigation, not a fix for the reported node-dependent runtime variation. Its cause remains unestablished and continues to be tracked under https://nvbugs/7044056; this PR does not claim that investigation is resolved.
Remove only the stale waiver added by #22311. Before that waiver merged, #21997 had already added
--ignore=unittest/_torch/attention/multi_gpu/test_gqa_kv_replica.pyto the B300 entry. The waiver names the older selector, andapply_waivesmatches exact node IDs, so it never skipped the current B300 entry. Deleting it is stale-line cleanup, not restoration of waived coverage. Preserve all other current-main waivers and upstream waiver removals, including the separate waivers for https://nvbugs/7109810.The current B300 multi-GPU attention entry remains fully skipped in CI by the separate waiver for https://nvbugs/7109810. The
TIMEOUT (120)annotation is not part of the parametrized node ID, so it does not bypass that exact-selector waiver. The 120-minute budget takes effect for CI execution only after that waiver is lifted; this PR does not re-enable this suite's B300 CI coverage.Test Coverage
Verification on four B300 GPUs, using the integration wrapper and full serial inner pytest sequences. These are direct wrapper runs, not a blossom-ci result for this PR or validation of both complete post-merge shards. Verification summary: https://nvbugs/7044056.
fee990e8aeba981afcb50c6f2b093d2c3e50a7a3. The subsequent main merge preserves the same PR patch, but GPU verification has not been repeated on the new merged tree; focused configuration checks pass.test_k3_mla_helix_context_heads[fp8-no-gate-tp1-cp2-unaligned-q-scale-block], passes in both final runs. Coverage retains the original GQA predecessors and neighboring MHA/MLA, FIFO/NCCL, head-layout, ownership and chunked-history cases selected by the suites.Original selector:
unittest/_torch/attention/multi_gpu --ignore=unittest/_torch/attention/multi_gpu/test_helix_zero_kv.py.Current CI selector additionally retains
--ignore=unittest/_torch/attention/multi_gpu/test_gqa_kv_replica.py.PR Checklist
Tracking: https://nvbugs/7044056
Dev Engineer Review
tests/integration/test_lists/test-db/l0_dgx_b300.yml: AppendsTIMEOUT (120)to the existingunittest/_torch/attention/multi_gpuentry. The--ignoreoptions fortest_helix_zero_kv.pyandtest_gqa_kv_replica.pyremain. The timeout token sits after the pytest arguments on the same line. The list parser's handling of this form is not verified in this review.tests/integration/test_lists/waives.txt: Removes one line only:unittest/_torch/attention/multi_gpu --ignore=...test_helix_zero_kv.py SKIP (https://nvbugs/7044056). That line lacks the GQA ignore, so it does not match the current entry's selector. The remaining GQA-ignore waiver (NVBUG 7109810) is unchanged. No waiver was added or re-tagged.main, the runs took 4388.642 s and 4104.335 s. These are manual wrapper runs, not PR CI results.QA Engineer Review
Test files changed: none under
tests/in Python. Changes are in test-list files only. No test function, test ID, or selector was added or removed.tests/integration/test_lists/test-db/l0_dgx_b300.yml. AddsTIMEOUT (120)to theunittest/_torch/attention/multi_gpuentry. This is a CI (test-db/) list. Noqa/list changed.tests/integration/test_lists/waives.txt. Removes one non-matching waiver for the older selector (NVBUG 7044056).Per-file QA perspective:
test-db/l0_dgx_b300.yml: Verify that the multi-GPU attention entry runs on B300 post-merge and completes within 120 minutes. Verify that the Helix zero-KV and GQA KV-replica ignores still apply.waives.txt: Verify that only the stale 7044056 line was removed and that the other waivers are unchanged. Do not treat this as restored B300 coverage.Coverage verdict: needs follow-up. The diff is correct for the entry-specific timeout and stale-waiver cleanup. Complete post-merge shard CI is not shown for this head, and the node-dependent slowdown remains under investigation.