-
Notifications
You must be signed in to change notification settings - Fork 624
[Bugfix]Fix eplb enable when using mtp float weights. #4571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: offline0806 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request fixes an issue where expert load balancing (EPLB) could not be enabled with float weights. The change introduces a temporary flag, init_eplb_enable, to conditionally bypass a quantization check that was incorrectly triggered for float weights, specifically for dynamic EPLB. The logic seems correct. I've added one comment to improve the clarity of the TODO comment associated with this temporary flag, which will enhance code maintainability.
|
👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:
If CI fails, you can run linting and testing checks locally according Contributing and Testing. |
Signed-off-by: offline0806 <[email protected]>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: offline893 <[email protected]>
|
plz rebase to the latest main to run ci correctly |
MengqingCao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for this fix!
) ### What this PR does / why we need it? Fix eplb enable when using mtp float weights. It will be remove when eplb supporting mtp and float weights. ### How was this patch tested? Deepseek-V3 + MTP + EPLB in A3. - vLLM version: v0.11.2 - vLLM main: https://github.com/vllm-project/vllm/commit/v0.11.2 --------- Signed-off-by: offline0806 <[email protected]> Signed-off-by: offline893 <[email protected]> Co-authored-by: offline0806 <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
) ### What this PR does / why we need it? Fix eplb enable when using mtp float weights. It will be remove when eplb supporting mtp and float weights. ### How was this patch tested? Deepseek-V3 + MTP + EPLB in A3. - vLLM version: v0.11.2 - vLLM main: https://github.com/vllm-project/vllm/commit/v0.11.2 --------- Signed-off-by: offline0806 <[email protected]> Signed-off-by: offline893 <[email protected]> Co-authored-by: offline0806 <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Che Ruan <[email protected]>
) ### What this PR does / why we need it? Fix eplb enable when using mtp float weights. It will be remove when eplb supporting mtp and float weights. ### How was this patch tested? Deepseek-V3 + MTP + EPLB in A3. - vLLM version: v0.11.2 - vLLM main: https://github.com/vllm-project/vllm/commit/v0.11.2 --------- Signed-off-by: offline0806 <[email protected]> Signed-off-by: offline893 <[email protected]> Co-authored-by: offline0806 <[email protected]> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Che Ruan <[email protected]>
What this PR does / why we need it?
Fix eplb enable when using mtp float weights. It will be remove when eplb supporting mtp and float weights.
Does this PR introduce any user-facing change?
How was this patch tested?
Deepseek-V3 + MTP + EPLB in A3.
![Uploading image.png…]()