Repository navigation
[Fix] eplb: reject incompatible recorder modes - #48404
Phoenix3334 wants to merge 5 commits into
Conversation
da22cce to
9c2f859
Compare
|
/tag-and-rerun-ci |
|
/rerun-test test/registered/npu/basic_function/parallel_strategy/expert_parallelism/test_npu_expert_distribution_recorder_mode.py |
|
⛔ |
|
Thanks for triggering the CI rerun. I checked the job logs for the current PR head ( Base CI: cancelled jobs, not test assertion failures
NPU: rerun command unsupported; NPU workflow passed, but not the targeted file
The Extra / Extra AMD failures are at the optional-tier label gate ( Current assessment: no failure in the checked logs is attributable to the two-file EPLB validation change. Base still needs an uninterrupted run, and the requested recorder-specific NPU test has not been confirmed executed. Could a maintainer help confirm the Base cancellation trigger / appropriate NPU test dispatch if needed? No code changes have been made in response to these CI statuses. |
|
[BBuf Review Agent] @Phoenix3334 The per_pass/per_token NPU cases still inherit |
|
Thanks for catching this. Fixed in |
This comment has been minimized.
This comment has been minimized.
|
[BBuf Review Agent] @Phoenix3334 Checked |
BBuf
left a comment
There was a problem hiding this comment.
LGTM. The NPU test adjustment fixes the earlier finding.
CI follow-up: upstream lint fix and main sync (Nov 5)For the record, the earlier Lint failure on
This separates the fixed upstream-wide lint issue from the EPLB-specific validation and any remaining CI failures on #48404. |
|
[BBuf Review Agent] @Phoenix3334 Confirmed |
|
/rerun-failed-ci |
1 similar comment
|
/rerun-failed-ci |
|
@BBuf Thanks for the reruns and review. I checked the latest CI for head
I haven't found a new EPLB-related failure requiring a code change; I'd be happy to investigate if a concrete test failure appears. Thanks! |
Motivation
Combining
--enable-eplbwithper_passorper_tokenis accepted at startup but crashes the scheduler on the first rebalance. EPLB requires object dumps, while these recorder modes only support file output.Reject the combination early with an actionable error. Fixes #48403.
Changes
handle_eplb_and_dispatch.per_pass,per_token) and allowed (None,stat,stat_approx) modes.per_pass/per_tokenfile-dump tests without EPLB, while retaining EPLB in thestat/stat_approxcases.Tests
On
297e54f(v0.5.23):-k eplb(green)test_server_args.pytest_a5_npu_supports_dcpfailure (reproduces without fix)ServerArgs.resolve_once()Same failure, reproduced end-to-end: DeepSeek-V4-Flash, 4× B300, TP4/EP4,
--eplb-rebalance-num-iterations 1:per_passAssertionErrorduring first rebalance, scheduler exitsper_passValueErrorbefore model loadstat/generatereturns HTTP 200The argument-validation fix was ported from
297e54fto upstreammain. Its unit tests and E2E were validated on297e54f, but have not been independently rerun onmain. The NPU recorder-test adjustment is pending NPU CI validation. The regression test calls the real hook directly because the dummy-model path skips that resolution stage.Accuracy / speed: N/A — argument validation only; valid execution paths are unchanged.
CI States
Latest PR Test (Base): ⏳ Run #42181157401
Latest PR Test (Extra): ❌ Run #42181157223
Latest PR Test (AMD ROCm 10): ⏳ Run #42181157262
Tip
Base CI only covers the core cases, and its workload may not exercise your change. Use
/rerun-testto run the tests your change touches, or copy this prompt for an agent: