Fix the missing 'lof' choice of --schedule-policy server args (#7114)

This commit is contained in:
Yingchun Lai
2025-08-04 03:29:42 +08:00
committed by GitHub
parent e67276ecb3
commit ed6f7597b3

View File

@@ -868,7 +868,7 @@ class ServerArgs:
"--schedule-policy", "--schedule-policy",
type=str, type=str,
default=ServerArgs.schedule_policy, default=ServerArgs.schedule_policy,
choices=["lpm", "random", "fcfs", "dfs-weight"], choices=["lpm", "random", "fcfs", "dfs-weight", "lof"],
help="The scheduling policy of the requests.", help="The scheduling policy of the requests.",
) )
parser.add_argument( parser.add_argument(