vllm.entrypoints.cli.serve ¶
DESCRIPTION module-attribute
¶
DESCRIPTION = "Launch a local OpenAI-compatible API server to serve LLM\ncompletions via HTTP. Defaults to Qwen/Qwen3-0.6B if no model is specified.\n\nSearch by using: `--help=<ConfigGroup>` to explore options by section (e.g.,\n--help=ModelConfig, --help=Frontend)\n Use `--help=all` to show all available flags at once.\n"
ServeSubcommand ¶
Bases: CLISubcommand
The serve
subcommand for the vLLM CLI.
Source code in vllm/entrypoints/cli/serve.py
cmd staticmethod
¶
cmd(args: Namespace) -> None
Source code in vllm/entrypoints/cli/serve.py
subparser_init ¶
subparser_init(
subparsers: _SubParsersAction,
) -> FlexibleArgumentParser
Source code in vllm/entrypoints/cli/serve.py
cmd_init ¶
cmd_init() -> list[CLISubcommand]
run_api_server_worker_proc ¶
run_api_server_worker_proc(
listen_address,
sock,
args,
client_config=None,
**uvicorn_kwargs,
) -> None
Entrypoint for individual API server worker processes.
Source code in vllm/entrypoints/cli/serve.py
run_headless ¶
run_headless(args: Namespace)
Source code in vllm/entrypoints/cli/serve.py
run_multi_api_server ¶
run_multi_api_server(args: Namespace)
Source code in vllm/entrypoints/cli/serve.py
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 |
|