[Fix][V1] Remove --scheduling-policy oracle (#20010)

Signed-off-by: amit <amit.man@gmail.com>
This commit is contained in:
amit
2025-06-24 19:52:15 +03:00
committed by GitHub
parent 26d34eb67e
commit 981eeca41a
2 changed files with 0 additions and 11 deletions

View File

@ -74,12 +74,6 @@ def test_unsupported_configs(monkeypatch):
disable_async_output_proc=True,
).create_engine_config()
with pytest.raises(NotImplementedError):
AsyncEngineArgs(
model=MODEL,
scheduling_policy="priority",
).create_engine_config()
with pytest.raises(NotImplementedError):
AsyncEngineArgs(
model=MODEL,

View File

@ -1289,11 +1289,6 @@ class EngineArgs:
recommend_to_remove=True)
return False
if self.scheduling_policy != SchedulerConfig.policy:
_raise_or_fallback(feature_name="--scheduling-policy",
recommend_to_remove=False)
return False
if self.num_scheduler_steps != SchedulerConfig.num_scheduler_steps:
_raise_or_fallback(feature_name="--num-scheduler-steps",
recommend_to_remove=True)