Skip to content

vllm.distributed.device_communicators.flashinfer_pcie_ipc_all_reduce

FlashInfer PCIe CUDA-IPC all-reduce integration.

This backend targets small tensor-parallel all-reduces on a single PCIe-only node. Its workspace has a stricter lifetime and stream contract than the existing FlashInfer MNNVL/TRT-LLM all-reduce implementation, so it intentionally lives behind a separate wrapper and an opt-in environment variable.

Classes:

Functions:

FlashInferPcieIpcAllReduce

vLLM lifecycle wrapper for FlashInfer's PCIe IPC all-reduce.

Methods:

  • capture –

    Move the single-stream workspace to and from the capture stream.

  • setup –

    Allocate, tune, and prepare the exact graph-capture shapes.

capture()

Move the single-stream workspace to and from the capture stream.

setup(*, hidden_dim, dtype, capture_sizes, tune_cache)

Allocate, tune, and prepare the exact graph-capture shapes.

warmup_flashinfer_pcie_ipc_allreduce(worker)

Initialize the TP PCIe IPC backend immediately before graph capture.