[https://nvbugs/6627197][fix] Unwaive KV pool rebalance PP loop tests - #18038
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe integration waiver list adds current skipped tests, removes obsolete waivers, and corrects one bug URL. The PP loop test fixture now initializes pending recompute pause IDs and mocks CUDA stream access for CPU-based tests. ChangesTest alignment updates
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: 🟡 Moderate · up to This change updates the PP-loop test fixture and removes four stale waivers, with 57 targeted tests passing. Merge readiness remains gated by a completed successful CI run because the available pipeline results include failures and no completed rerun. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/bot run --extra-stage "CPU-Generic-x86-1" |
|
PR_Github #67960 [ run ] triggered by Bot. Commit: |
|
PR_Github #67960 [ run ] completed with state
|
|
/bot run --extra-stage "CPU-Generic-x86-1" |
|
PR_Github #68068 [ run ] triggered by Bot. Commit: |
|
PR_Github #68068 [ run ] completed with state
|
|
/bot run --disable-fail-fast --extra-stage "CPU-Generic-x86-1" |
|
PR_Github #68345 [ run ] triggered by Bot. Commit: |
Signed-off-by: Zhaoyuan He <zhaoyuanh@nvidia.com>
ab78cfe to
8f8fb7a
Compare
|
PR_Github #68345 [ run ] completed with state |
|
/bot run --disable-fail-fast --extra-stage "CPU-Generic-x86-1" |
|
PR_Github #68537 [ run ] triggered by Bot. Commit: |
|
PR_Github #68537 [ run ] completed with state
|
|
/bot run --disable-fail-fast --extra-stage "CPU-Generic-x86-1" |
|
PR_Github #68583 [ run ] triggered by Bot. Commit: |
|
PR_Github #68583 [ run ] completed with state |
Dev Engineer Review
TestPpLoopDrainWiringNVBug 6627197 waiver entries._pending_recompute_pause_idsto an empty set in the PP-loop test fixture.object.__new__.git diff --checkpasses.QA Engineer Review
tests/unittest/_torch/executor/test_kv_pool_rebalance.py.TestPpLoopDrainWiringentries fromtests/integration/test_lists/waives.txt.Description
The original
TestPpLoopDrainWiringfailure was fixed by #17874 (5dfe080491da), which initializes_mm_encoder_item_scheduling_enabledin the fixture-createdPyExecutor. The four tests nevertheless remained waived under NVBug 6627197.This PR removes those stale waivers and keeps the fixture compatible with current
mainby initializing_pending_recompute_pause_ids, which was subsequently introduced by #15252.The four
TestPpLoopDrainWiringtests were waived for NVBug 6627197 because fixture-createdPyExecutorinstances did not initialize_mm_encoder_item_scheduling_enabled. That initialization has already landed onmain, so these waivers are no longer needed.While validating the tests unwaived on current
main, the fixture also needed to initialize_pending_recompute_pause_ids, which was recently added toPyExecutor. The fixture constructs the executor withobject.__new__and therefore must explicitly initialize fields used by the PP loop.This PR:
_pending_recompute_pause_idsin the PP-loop test fixture.Test Coverage
_mm_encoder_item_scheduling_enabled.mainwithout the fixture update: 54 passed, 3 failed with missing_pending_recompute_pause_ids.tests/unittest/_torch/executor/test_kv_pool_rebalance.py— 57 passed.git diff --checkpassed.PR Checklist
GitHub Bot Help
To see a list of available CI bot commands, please comment
/bot help.