scheduler.py: Update the name of the default scheduler. (#26758)

Signed-off-by: Ryan Li <ryanli@ryanli.org>
This commit is contained in:
Ryan Li
2025-10-14 14:52:21 +08:00
committed by GitHub
parent d3cc8427c0
commit 481545b397
2 changed files with 6 additions and 11 deletions

View File

@@ -1742,11 +1742,6 @@ class EngineArgs:
self.enable_prefix_caching = incremental_prefill_supported
logger.info("(%s) prefix caching by default", action)
# V1 should use the new scheduler by default.
# Swap it only if this arg is set to the original V0 default
if self.scheduler_cls == EngineArgs.scheduler_cls:
self.scheduler_cls = "vllm.v1.core.sched.scheduler.Scheduler"
# When no user override, set the default values based on the usage
# context.
# Use different default values for different hardware.