Skip to content

vllm.model_executor.layers.fused_moe.prepare_finalize.deepep_ht

Classes:

DeepEPHTPrepareAndFinalize

Bases: FusedMoEPrepareAndFinalizeModular

Prepare/Finalize using DeepEP High-Throughput kernels.

_dbo_record_stream(*tensors)

Mark tensors allocated on the other DBO stream as used by this one.

Under DBO, DeepEP allocates its outputs on the comm stream while the experts read them on the compute stream, and the reverse holds for the dispatch and combine inputs. Without this, the caching allocator can hand a freed block to the other ubatch while kernels on this stream still read it.