vllm.pooling_params
PoolingParams
¶
Bases: Struct
API parameters for pooling models. This is currently a placeholder.
Attributes:
Name | Type | Description |
---|---|---|
dimensions |
Optional[int]
|
Reduce the dimensions of embeddings if model support matryoshka representation. |
additional_data |
Optional[Any]
|
Any additional data needed for pooling. |
Source code in vllm/pooling_params.py
__post_init__
¶
clone
¶
clone() -> PoolingParams
verify
¶
verify(model_config: ModelConfig) -> None