[Auto Sync] Update scheduler.py, server_args.py (20251020) (#11875)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Kan Wu <wukanustc@gmail.com>
This commit is contained in:
@@ -220,6 +220,7 @@ class ServerArgs:
|
||||
max_prefill_tokens: int = 16384
|
||||
schedule_policy: str = "fcfs"
|
||||
enable_priority_scheduling: bool = False
|
||||
abort_on_priority_when_disabled: bool = False
|
||||
schedule_low_priority_values_first: bool = False
|
||||
priority_scheduling_preemption_threshold: int = 10
|
||||
schedule_conservativeness: float = 1.0
|
||||
@@ -1771,6 +1772,12 @@ class ServerArgs:
|
||||
default=ServerArgs.enable_priority_scheduling,
|
||||
help="Enable priority scheduling. Requests with higher priority integer values will be scheduled first by default.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--abort-on-priority-when-disabled",
|
||||
action="store_true",
|
||||
default=ServerArgs.abort_on_priority_when_disabled,
|
||||
help="If set, abort requests that specify a priority when priority scheduling is disabled.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--schedule-low-priority-values-first",
|
||||
action="store_true",
|
||||
|
||||
Reference in New Issue
Block a user