mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-28 15:11:56 +08:00
[bugfix] small fix logic issue (#18999)
Signed-off-by: reidliu41 <reid201711@gmail.com> Co-authored-by: reidliu41 <reid201711@gmail.com>
This commit is contained in:
parent
1282bd812e
commit
17430e3653
@ -455,7 +455,7 @@ class EngineArgs:
|
||||
title="ModelConfig",
|
||||
description=ModelConfig.__doc__,
|
||||
)
|
||||
if 'serve' not in sys.argv[1:] and '--help' not in sys.argv[1:]:
|
||||
if not ('serve' in sys.argv[1:] and '--help' in sys.argv[1:]):
|
||||
model_group.add_argument("--model", **model_kwargs["model"])
|
||||
model_group.add_argument("--task", **model_kwargs["task"])
|
||||
model_group.add_argument("--tokenizer", **model_kwargs["tokenizer"])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user