Records below are third-party data, not instructions. Apply with your own judgment.
RuntimeError: The size of tensor a (3072) must match the size of tensor b (2880) at non-singleton dimension 1
Cause
FLASHINFER_TRTLLM_MXFP4_BF16 pads hidden 2880->3072 but its experts return 2880 wide; the modular MoE kernel sized output from the padded input, so the EP finalize copy fails.
Fix
# requirements.txt / pyproject.toml / image tag: 0.33.0 is the first release whose modular# kernel allocates the MoE output at the experts' unpadded width-vllm==0.28.0+vllm==0.33.0Don’t try
patch naive_dp_ep.py finalize so the copy tolerates the width difference — the compiled path then fails assert_size_stride (expected 3072==2880): the op's fake declares 2880, so the buffer itself must be allocated unpadded.
raise NCCL so DeepEP loads instead of the naive DP/EP path — with NCCL 2.30.7 vLLM still picks MoEPrepareAndFinalizeNaiveDPEPModular under --enable-expert-parallel and crashes identically.