mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 09:25:44 +08:00
[Misc] fixed 'required' is an invalid argument for positionals (#13948)
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
This commit is contained in:
parent
a7f37314b7
commit
10c3b8c1cf
@ -102,7 +102,7 @@ if __name__ == '__main__':
|
|||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
"Script to call a specified VLM through the API. Make sure to serve "
|
"Script to call a specified VLM through the API. Make sure to serve "
|
||||||
"the model with --task embed before running this.")
|
"the model with --task embed before running this.")
|
||||||
parser.add_argument("model",
|
parser.add_argument("--model",
|
||||||
type=str,
|
type=str,
|
||||||
choices=["vlm2vec", "dse_qwen2_vl"],
|
choices=["vlm2vec", "dse_qwen2_vl"],
|
||||||
required=True,
|
required=True,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user