fix: Add --model as an alias for --model-path in server_args (#7505)
This commit is contained in:
@@ -564,6 +564,7 @@ class ServerArgs:
|
|||||||
# Model and port args
|
# Model and port args
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--model-path",
|
"--model-path",
|
||||||
|
"--model",
|
||||||
type=str,
|
type=str,
|
||||||
help="The path of the model weights. This can be a local folder or a Hugging Face repo ID.",
|
help="The path of the model weights. This can be a local folder or a Hugging Face repo ID.",
|
||||||
required=True,
|
required=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user