Skip to content

vllm.entrypoints.cli.benchmark.base

Classes:

BenchmarkSubcommandBase

Bases: CLISubcommand

The base class of subcommands for vllm bench.

Methods:

  • add_cli_args –

    Add the CLI arguments to the parser.

  • cmd –

    Run the benchmark.

add_cli_args(parser) classmethod

Add the CLI arguments to the parser.

cmd(args) staticmethod

Run the benchmark.

Parameters:

  • args

    (Namespace) –

    The arguments to the command.