vllm.entrypoints.cli.benchmark.base
BenchmarkSubcommandBase
¶
Bases: CLISubcommand
The base class of subcommands for vllm bench.
Source code in vllm/entrypoints/cli/benchmark/base.py
add_cli_args
¶
add_cli_args(parser: ArgumentParser) -> None
cmd
staticmethod
¶
cmd(args: Namespace) -> None
Run the benchmark.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
args
|
Namespace
|
The arguments to the command. |
required |
subparser_init
¶
subparser_init(
subparsers: _SubParsersAction,
) -> FlexibleArgumentParser