Repository navigation
[None][test] Patch moe_comm_serving_timeouts in the phase-selective warmup test - #20362
Conversation
…armup test NVIDIA#20246 replaced moe_a2a_steady_state_budget_for_capture in the decoder runner with moe_comm_serving_timeouts, used inside _warmup_and_capture_cuda_graphs. The warmup test still patched the old name, so it failed with AttributeError. Patch the new name instead. Signed-off-by: chenfeiz0326 <203214996+chenfeiz0326@users.noreply.github.com>
|
/bot run |
|
PR_Github #77994 [ run ] triggered by Bot. Commit: |
|
CI result for this change: The rest of the pipeline is still running. |
|
PR_Github #77994 [ run ] completed with state |
|
@xxi-nv @AlessioNetti, CI is green on this one-line test fix (L0 #64296), and could one of you approve it? It needs a Until it lands, every PR based on a main that includes #20246 fails |
Funatiq
left a comment
There was a problem hiding this comment.
Approving for @AlessioNetti
|
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. |
…DIA#20362) Signed-off-by: JunyiXu-nv <219237550+JunyiXu-nv@users.noreply.github.com>
Description
#20246 removed
moe_a2a_steady_state_budget_for_capturefromtensorrt_llm/_torch/pyexecutor/engine/runners/decoder/runner.py. It now wraps the capture pass of the new_warmup_and_capture_cuda_graphsinmoe_comm_serving_timeouts().tests/unittest/_torch/compilation/test_phase_selective_forward.py::test_decoder_runner_warmup_bypasses_only_auxiliary_phasesstill monkeypatches the old name, so both parametrizations fail on any branch that contains #20246:It hit
CPU-Generic-arm-1in L0 #64229 (PR #20250). That test is inl0_cpu.yml,l0_h100.ymlandl0_b200.yml.This PR patches
moe_comm_serving_timeoutsinstead, with the samecontextlib.nullcontextstand-in. The test's purpose is unchanged: it checks which warmup phases run eagerly and which compiled, and the timeout context is just scaffolding.Test Coverage
tests/unittest/_torch/compilation/test_phase_selective_forward.py::test_decoder_runner_warmup_bypasses_only_auxiliary_phases[True]and[False].PR Checklist
🤖 Generated with Claude Code
Dev Engineer Review
The test now patches
runner_module.moe_comm_serving_timeoutswithcontextlib.nullcontext, replacing the removedmoe_a2a_steady_state_budget_for_capture. Its warmup-routing assertions are unchanged. Review finding counts are unavailable.QA Engineer Review
tests/unittest/_torch/compilation/test_phase_selective_forward.pymodifiestest_decoder_runner_warmup_bypasses_only_auxiliary_phases. It still tests bothenabledvalues and checks which warmup phases use eager or compiled forwarding. The supplied objectives report that both parametrizations previously failed withAttributeError, and the other six tests in the file passed in the same CI run. The PR was not run locally. No integration test-list match was reported. Coverage verdict: sufficient for this targeted regression.Per-File QA Perspective
tests/unittest/_torch/compilation/test_phase_selective_forward.py: The warmup test checks forwarding behavior across auxiliary and main warmup phases for bothenabledvalues. No integration test-list entry was reported; this is a unit-test file.