From ed6f7597b3395b7bfc53e74f8879eac597b834c2 Mon Sep 17 00:00:00 2001 From: Yingchun Lai Date: Mon, 4 Aug 2025 03:29:42 +0800 Subject: [PATCH] Fix the missing 'lof' choice of --schedule-policy server args (#7114) --- python/sglang/srt/server_args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/sglang/srt/server_args.py b/python/sglang/srt/server_args.py index 4691b3c7c..6c63de973 100644 --- a/python/sglang/srt/server_args.py +++ b/python/sglang/srt/server_args.py @@ -868,7 +868,7 @@ class ServerArgs: "--schedule-policy", type=str, default=ServerArgs.schedule_policy, - choices=["lpm", "random", "fcfs", "dfs-weight"], + choices=["lpm", "random", "fcfs", "dfs-weight", "lof"], help="The scheduling policy of the requests.", ) parser.add_argument(