From 3562256bb2ea250c33ae4a9472d83c3ef0d7eec3 Mon Sep 17 00:00:00 2001 From: Chang Su Date: Tue, 24 Jun 2025 12:08:08 -0700 Subject: [PATCH] fix: Add `--model` as an alias for `--model-path` in server_args (#7505) --- python/sglang/srt/server_args.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/srt/server_args.py b/python/sglang/srt/server_args.py index 2014f7e95..6f49b982f 100644 --- a/python/sglang/srt/server_args.py +++ b/python/sglang/srt/server_args.py @@ -564,6 +564,7 @@ class ServerArgs: # Model and port args parser.add_argument( "--model-path", + "--model", type=str, help="The path of the model weights. This can be a local folder or a Hugging Face repo ID.", required=True,