Skip to content

vllm.entrypoints.pooling.utils

Functions:

encode_pooling_output_float_or_ndarray(output)

Return an ndarray when the response renderer can serialize NumPy.

reserve_tokens(tok_params, num_tokens)

Shrink every length limit by num_tokens that are appended afterwards.