Skip to content

vllm.distributed.aux_output_connector.params

Checks of the requests of an engine that delivers auxiliary outputs as objects.

Functions:

check_object_request_n(vllm_config, params)

Reject n > 1 on an engine that delivers objects. The frontend checks it, as the engine core receives each sample as its own request.

prepare_object_request(vllm_config, request)

Check a request on an engine that delivers objects, and fold its cache salt with the key prefix so that its prefix-cache hits stay in its scope. Prompt block hashes a frontend computed carry the client's salt, so the engine hashes the prompt itself.