Repository navigation
[https://nvbugs/6842831][fix] Restore FlashInfer GDN decode test collection - #19667
Conversation
Signed-off-by: Pranav Shrestha <[email protected]>
|
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: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe FlashInfer GDN decode test now checks decode-specific architecture support when determining whether it can run. ChangesGDN decode test
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The decode test’s availability guard now uses the decode-specific architecture check and preserves its intended supported GPUs. No concrete merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Description
Fix GPU-side collection of
tests/unittest/_torch/modules/mamba/test_flashinfer_gdn_decode.pyby usingis_flashinfer_gdn_decode_supported_archin its availability guard. The test added in #17028 imports the oldis_flashinfer_gdn_supported_archname, which #19376 had already split into prefill/decode helpers. Because the guard runs at module import, this aborts collection of the entire Mamba suite on GPU workers before individual-test waivers can apply.Observed on B300, B200, and H100 in PR #19507 CI build #62269. This changes only the test's helper import and call, retaining the decode-specific SM90/SM100/SM103 gate and all existing test coverage.
Test Coverage
ImportError(exit 2); patched file collects 1 test successfully (exit 0). Ranpython3 -m pytest --noconftest -c /dev/null -p no:cacheprovider --collect-only -q <test-file>with GPU 0 visible. Before log, after log.git diff --checkpassed.PR Checklist
Dev Engineer Review
The decode availability guard now uses
is_flashinfer_gdn_decode_supported_arch, matching the decode-specific helper. This avoids importing the removed helper and retains the decode architecture gate.QA Engineer Review
The change modifies
tests/unittest/_torch/modules/mamba/test_flashinfer_gdn_decode.py. It does not add or remove test functions, IDs, selectors, or waivers. The available summary reports that the patched file collected one test; numerical execution and the full Mamba suite were not rerun. Coverage verdict: needs follow-up.Per-File QA Perspective
tests/unittest/_torch/modules/mamba/test_flashinfer_gdn_decode.py: The test covers FlashInfer GDN decode behavior behind a decode-specific architecture guard. Whether it is listed in the CI or manual-QA test lists is not established by the supplied evidence.