Skip to content

vllm.entrypoints.serve.tokenize.serving

Classes:

ServingTokenization

Bases: BaseServing

Methods:

get_tokenizer_info() async

Get comprehensive tokenizer information.

TokenizerInfo dataclass

Methods:

  • to_dict –

    Return the tokenizer configuration.

_get_tokenizer_config()

Get tokenizer configuration directly from the tokenizer object.

_make_json_serializable(obj)

Convert any non-JSON-serializable objects to serializable format.

to_dict()

Return the tokenizer configuration.