vllm.entrypoints.pooling.utils
¶
Functions:
-
encode_pooling_output_float_or_ndarray–Return an ndarray when the response renderer can serialize NumPy.
-
reserve_tokens–Shrink every length limit by
num_tokensthat are appended afterwards.