Skip to content

vllm.distributed.ec_transfer.ec_connector.tiering.manager

Asynchronous CPU-primary and secondary-tier transfer orchestration.

Classes:

  • ECTieringManager –

    Orchestrate asynchronous transfers between CPU and a secondary tier.

ECTieringManager

Orchestrate asynchronous transfers between CPU and a secondary tier.

Methods:

  • ensure_primary_entry –

    Wait for submitted reads; allow recomputation when promotion cannot start.

  • has_pending –

    Poll once and report whether any tier transfer is still pending.

  • on_cpu_save_completed –

    Submit one write-through store after the CPU entry becomes ready.

  • poll –

    Publish completed loads and release pins for completed stores.

  • prefetch_entry –

    Try one early read without waiting or displacing pinned entries.

  • register_cpu_save –

    Record identity for a newly allocated CPU save.

  • release_prefetch –

    Release a request's interest after consumption or cancellation.

  • shutdown –

    Drain transfers, finalize their state, and verify quiescence.

_hold_primary_entry(request_id, identifier)

Retain a shared request hold until scheduling or cancellation.

ensure_primary_entry(identifier, modality, num_tokens, shape, element_size, request_id='')

Wait for submitted reads; allow recomputation when promotion cannot start.

has_pending()

Poll once and report whether any tier transfer is still pending.

on_cpu_save_completed(identifier)

Submit one write-through store after the CPU entry becomes ready.

poll()

Publish completed loads and release pins for completed stores.

prefetch_entry(request_id, identifier, modality, num_tokens, shape, element_size)

Try one early read without waiting or displacing pinned entries.

register_cpu_save(identifier, modality, num_tokens)

Record identity for a newly allocated CPU save.

release_prefetch(request_id, identifier=None)

Release a request's interest after consumption or cancellation.

shutdown()

Drain transfers, finalize their state, and verify quiescence.