Skip to content

vllm_omni.entrypoints.cli.benchmark.main

Top-level vllm bench command integration for vLLM-Omni.

OmniBenchmarkSubcommand creates the benchmark command group, discovers OmniBenchmarkSubcommandBase implementations, builds their nested parsers, and dispatches parsed commands to the selected implementation. cmd_init exposes the command to the surrounding vLLM-Omni CLI registration mechanism.

OmniBenchmarkSubcommand

Bases: CLISubcommand

The bench subcommand for the vLLM CLI.

help class-attribute instance-attribute

help = 'vLLM-omni bench subcommand.'

name class-attribute instance-attribute

name = 'bench'

cmd staticmethod

cmd(args: Namespace) -> None

subparser_init

subparser_init(
    subparsers: _SubParsersAction,
) -> TrackingArgumentParser

validate

validate(args: Namespace) -> None

cmd_init

cmd_init() -> list[CLISubcommand]