Skip to content

vllm.model_executor.layers.fused_moe.prepare_finalize.batched

Classes:

BatchedPrepareAndFinalize

Bases: FusedMoEPrepareAndFinalizeModular

A reference prepare/finalize class that reorganizes the tokens into expert batched format, i.e. E x max_num_tokens x K. This is the format that the batched dispatch/combine kernels use.