Unverified Commit 3562256b authored by Chang Su's avatar Chang Su Committed by GitHub
Browse files

fix: Add `--model` as an alias for `--model-path` in server_args (#7505)

parent 5f527834
...@@ -564,6 +564,7 @@ class ServerArgs: ...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment