Merge remote-tracking branch 'origin/main' into sync/lesj/qwen4exp-bugfixes

Signed-off-by: lesj0610 <lesj0610@users.noreply.github.com>
This commit is contained in:
lesj0610
2026-09-17 15:01:29 +09:00
48 changed files with 2228 additions and 385 deletions
@@ -171,6 +171,7 @@ class XPUExperts(mk.FusedMoEExpertsModular):
num_experts=self.moe_config.num_local_experts,
ep_rank=self.moe_config.ep_rank,
ep_size=self.moe_config.ep_size,
expert_map=expert_map,
gemm1_clamp_limit=self.gemm1_clamp_limit,
)
assert self.fused_moe_impl is not None
@@ -13,7 +13,7 @@ from vllm.platforms import current_platform
from vllm.triton_utils import tl, triton
from vllm.v1.worker.ubatching import dbo_current_ubatch_id
if current_platform.is_cuda_alike():
if current_platform.is_cuda_alike() or current_platform.is_xpu():
@triton.jit
def _eplb_map_and_record_i32_kernel(
@@ -85,6 +85,7 @@ class SharedExperts(torch.nn.Module):
# Both these comm backends have been shown to be safe for shared expert overlap.
_EPLB_OVERLAP_SAFE_BACKENDS = (
"allgather_reducescatter",
"deepep_v2",
"flashinfer_nvlink_one_sided",
)