File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
from vllm .collect_env import main as collect_env_main
6
6
from vllm .entrypoints .cli .types import CLISubcommand
7
- from vllm .entrypoints .openai .cli_args import make_arg_parser
8
7
from vllm .utils import FlexibleArgumentParser
9
8
10
9
11
10
class CollectEnvSubcommand (CLISubcommand ):
12
- """The `serve ` subcommand for the vLLM CLI. """
11
+ """The `collect-env ` subcommand for the vLLM CLI. """
13
12
14
13
def __init__ (self ):
15
14
self .name = "collect-env"
@@ -23,12 +22,12 @@ def cmd(args: argparse.Namespace) -> None:
23
22
def subparser_init (
24
23
self ,
25
24
subparsers : argparse ._SubParsersAction ) -> FlexibleArgumentParser :
26
- serve_parser = subparsers .add_parser (
25
+ collect_env_parser = subparsers .add_parser (
27
26
"collect-env" ,
28
27
help = "Start collecting environment information." ,
29
28
description = "Start collecting environment information." ,
30
29
usage = "vllm collect-env" )
31
- return make_arg_parser ( serve_parser )
30
+ return collect_env_parser
32
31
33
32
34
33
def cmd_init () -> list [CLISubcommand ]:
You can’t perform that action at this time.
0 commit comments