vllm.model_executor.layers.pooler.abstract ¶
Classes:
-
Pooler–The interface required for all poolers used in pooling models in vLLM.
Pooler ¶
The interface required for all poolers used in pooling models in vLLM.
Methods:
-
get_pooling_updates–Construct the updated pooling parameters to use for a supported task.
-
get_supported_tasks–Determine which pooling tasks are supported.
Source code in vllm/model_executor/layers/pooler/abstract.py
get_pooling_updates(task) ¶
Construct the updated pooling parameters to use for a supported task.