Skip to content

Commit ed6f759

Browse files
authored
Fix the missing 'lof' choice of --schedule-policy server args (sgl-project#7114)
1 parent e67276e commit ed6f759

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/sglang/srt/server_args.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ def add_cli_args(parser: argparse.ArgumentParser):
868868
"--schedule-policy",
869869
type=str,
870870
default=ServerArgs.schedule_policy,
871-
choices=["lpm", "random", "fcfs", "dfs-weight"],
871+
choices=["lpm", "random", "fcfs", "dfs-weight", "lof"],
872872
help="The scheduling policy of the requests.",
873873
)
874874
parser.add_argument(

0 commit comments

Comments
 (0)