Skip to content

vllm.entrypoints.cli.launch

Classes:

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).

LaunchSubcommandBase

Bases: CLISubcommand

The base class of subcommands for vllm launch.

Methods:

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.

RenderSubcommand

Bases: LaunchSubcommandBase

vllm launch render starts a GPU-less rendering server for preprocessing and postprocessing only.

vllm launch render meta-llama/Llama-3.2-1B-Instruct --port 8100

This command reuses the standard serving parser, so model, frontend, networking, and related CLI options follow the same conventions as vllm serve.