Skip to content

vllm.tasks

GENERATION_TASKS module-attribute

GENERATION_TASKS: tuple[GenerationTask, ...] = get_args(
    GenerationTask
)

GenerationTask module-attribute

GenerationTask = Literal['generate', 'transcription']

POOLING_TASKS module-attribute

POOLING_TASKS: tuple[PoolingTask, ...] = get_args(
    PoolingTask
)

PoolingTask module-attribute

PoolingTask = Literal[
    "embed",
    "classify",
    "score",
    "token_embed",
    "token_classify",
    "plugin",
]

SupportedTask module-attribute