[EPLB] Offline eplb support#26176
Open
PatrykSaffer wants to merge 41 commits intovllm-project:mainfrom
Open
Conversation
Signed-off-by: Patryk Saffer <patryk.saffer99@gmail.com>
Contributor
|
This pull request has merge conflicts that must be resolved before it can be |
Signed-off-by: PatrykSaffer <patryk.saffer@mistral.ai>
a4f5d66 to
dbc6dc8
Compare
Signed-off-by: PatrykSaffer <patryk.saffer@mistral.ai>
|
This pull request has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this pull request should remain open. Thank you! |
# Conflicts: # vllm/config/parallel.py # vllm/distributed/eplb/eplb_state.py # vllm/model_executor/layers/fused_moe/fused_moe.py # vllm/model_executor/layers/fused_moe/fused_moe_method_base.py # vllm/model_executor/layers/fused_moe/fused_moe_modular_method.py # vllm/model_executor/layers/fused_moe/layer.py # vllm/model_executor/layers/fused_moe/unquantized_fused_moe_method.py # vllm/model_executor/layers/quantization/awq_marlin.py # vllm/model_executor/layers/quantization/bitsandbytes.py # vllm/model_executor/layers/quantization/compressed_tensors/compressed_tensors_moe.py # vllm/model_executor/layers/quantization/experts_int8.py # vllm/model_executor/layers/quantization/fp8.py # vllm/model_executor/layers/quantization/gguf.py # vllm/model_executor/layers/quantization/gptq_marlin.py # vllm/model_executor/layers/quantization/ipex_quant.py # vllm/model_executor/layers/quantization/modelopt.py # vllm/model_executor/layers/quantization/moe_wna16.py # vllm/model_executor/layers/quantization/mxfp4.py # vllm/model_executor/layers/quantization/quark/quark_moe.py # vllm/model_executor/layers/quantization/rtn.py # vllm/model_executor/models/qwen3_moe.py # vllm/v1/worker/gpu_model_runner.py
Signed-off-by: Patryk Saffer <patryk.saffer99@gmail.com>
Signed-off-by: Patryk Saffer <patryk.saffer99@gmail.com>
Signed-off-by: Patryk Saffer <patryk.saffer99@gmail.com>
Signed-off-by: Patryk Saffer <patryk.saffer99@gmail.com>
Signed-off-by: Patryk Saffer <patryk.saffer99@gmail.com>
Signed-off-by: Patryk Saffer <patryk.saffer99@gmail.com>
Contributor
Author
|
Hello @abmfy could you please review? |
4 tasks
arpera
added a commit
to arpera/vllm
that referenced
this pull request
May 8, 2026
Signed-off-by: Artem Perevedentsev <aperevedents@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Offline eplb- make it possible to rearrange experts once at the start time.
This allows rebalancing experts when engine starts. With
staticexperts are rebalanced only once when engine starts,this allows better experts balancedness without metrics tracking/rearrangement overhead.
EPLB has more options now:
load_initial_load_windowandload_path:Whether to use initial load window and corresponding path.
save_load_windowandload_path:Whether to save load window and corresponding path.
static:Whether to actively rebalance experts during runtime.
Test Plan
Integration test test_eplb_offline.py added.
Test Result
Tests pass