Skip to content

vllm.distributed.aux_output_connector.routed_experts

Routed-experts auxiliary output keys, publication, and materialization.

Classes:

Functions:

RoutedExpertsBuffer

Own incomplete and unkeyed full routed-experts blocks.

Methods:

  • capture –

    Stage rows and return completed blocks without retaining them.

  • read –

    Copy rows from unkeyed full blocks and the incomplete tail.

  • retain_block –

    Retain one unkeyed block after the current capture call.

capture(request_id, token_start, rows)

Stage rows and return completed blocks without retaining them.

read(request_id, token_start, token_end, pending_blocks)

Copy rows from unkeyed full blocks and the incomplete tail.

retain_block(rows)

Retain one unkeyed block after the current capture call.

publish_routed_experts(store, *, batches, block_size, retain_keys=(), release_keys=())

Publish immutable full R3 blocks.