diff --git a/vllm_omni/core/sched/omni_generation_scheduler.py b/vllm_omni/core/sched/omni_generation_scheduler.py index 59f954a8a..0916487ab 100644 --- a/vllm_omni/core/sched/omni_generation_scheduler.py +++ b/vllm_omni/core/sched/omni_generation_scheduler.py @@ -275,8 +275,7 @@ class OmniGenerationScheduler(VLLMScheduler): # Remove the stopped requests from the running and waiting queues. if stopped_running_reqs: - if stopped_running_reqs: - self.running = remove_all(self.running, stopped_running_reqs) + self.running = remove_all(self.running, stopped_running_reqs) if stopped_preempted_reqs: # This is a rare case and unlikely to impact performance. self.waiting.remove_requests(stopped_preempted_reqs)