Skip to content

vllm.distributed.ec_transfer.ec_connector.cpu.connector

ECCPUConnector — CPU encoder-cache offloading.

A role-routed shell: one instance per process. The scheduler delegate owns the mmap region and offload bookkeeping; the worker delegate owns the mmap view and GPU copy plumbing. An ec_both instance reuses encoder outputs it has already offloaded to CPU instead of recomputing them.

Classes:

  • ECCPUConnector –

    EC connector that offloads encoder cache to a shared CPU mmap region.

ECCPUConnector

Bases: ECConnectorBase

EC connector that offloads encoder cache to a shared CPU mmap region.