[Frontend] Move CLI code into vllm.cmd package (#12971)

This commit is contained in:
Russell Bryant
2025-02-13 02:12:21 -05:00
committed by GitHub
parent 04f50ad9d1
commit d46d490c27
9 changed files with 348 additions and 205 deletions

View File

@@ -901,7 +901,8 @@ async def run_server(args, **uvicorn_kwargs) -> None:
if __name__ == "__main__":
# NOTE(simon):
# This section should be in sync with vllm/scripts.py for CLI entrypoints.
# This section should be in sync with vllm/entrypoints/cli/main.py for CLI
# entrypoints.
parser = FlexibleArgumentParser(
description="vLLM OpenAI-Compatible RESTful API server.")
parser = make_arg_parser(parser)