vllm.entrypoints.cli.launch
¶
Classes:
-
LaunchSubcommand–The
launchsubcommand for the vLLM CLI. -
LaunchSubcommandBase–The base class of subcommands for
vllm launch. -
RenderSubcommand–vllm launch renderstarts a GPU-less rendering server for preprocessing
LaunchSubcommand
¶
Bases: CLISubcommand
The launch subcommand for the vLLM CLI.
Uses nested sub-subcommands so each component can define its own
arguments independently (e.g. vllm launch render).
Source code in vllm/entrypoints/cli/launch.py
LaunchSubcommandBase
¶
Bases: CLISubcommand
The base class of subcommands for vllm launch.
Methods:
-
add_cli_args–Add the CLI arguments to the parser.
Source code in vllm/entrypoints/cli/launch.py
add_cli_args(parser)
classmethod
¶
Add the CLI arguments to the parser.
By default, uses the subcommand's docstring as the description and adds the standard vLLM serving arguments. Subclasses can override to add component-specific arguments.
Source code in vllm/entrypoints/cli/launch.py
RenderSubcommand
¶
Bases: LaunchSubcommandBase
vllm launch render starts a GPU-less rendering server for preprocessing
and postprocessing only.
This command reuses the standard serving parser, so model, frontend,
networking, and related CLI options follow the same conventions as
vllm serve.