Unverified Commit 981eeca4 authored by amit's avatar amit Committed by GitHub
Browse files

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


Signed-off-by: default avataramit <amit.man@gmail.com>
parent 26d34eb6
......@@ -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,
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment