mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-11 03:54:28 +08:00
[Feat] Enable eplb with default all2all backend (#30559)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
parent
00a8d7628c
commit
59bd5f6a71
@ -29,14 +29,14 @@ class SharedFusedMoE(FusedMoE):
|
||||
self._shared_experts = shared_experts
|
||||
|
||||
# Disable shared expert overlap if:
|
||||
# - we are using eplb, because of correctness issues
|
||||
# - we are using flashinfer with DP, since there nothing to gain
|
||||
# - we are using eplb with non-default backend, because of correctness issues
|
||||
# - we are using flashinfer with DP, since there nothint to gain
|
||||
# - we are using marlin kernels
|
||||
backend = self.moe_parallel_config.all2all_backend
|
||||
self.use_overlapped = (
|
||||
use_overlapped
|
||||
and not (
|
||||
# TODO(wentao): find the root cause and remove this condition
|
||||
self.enable_eplb
|
||||
(self.enable_eplb and backend != "allgather_reducescatter")
|
||||
or (self.moe_config.use_flashinfer_cutlass_kernels and self.dp_size > 1)
|
||||
)
|
||||
and self._shared_experts is not None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user