vllm-project/vllm

[Feature]: Priority scheduling supports preemption of requests in the running queue by requests in the waiting queue

Open

#40,004 opened on Apr 16, 2026

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Python (16,816 forks)batch import
feature requesthelp wanted

Repository metrics

Stars
 (80,034 stars)
PR merge metrics
 (Avg merge 3d 17h) (993 merged PRs in 30d)

Description

🚀 The feature, motivation and pitch

The current priority scheduling only supports evicting low-priority requests from the running queue when resources are insufficient. However, when scheduling the waiting queue, if pending requests cannot be scheduled (for example, when the number of requests in the running queue has reached max_num_seqs), even high-priority requests cannot preempt requests in the running queue.

Alternatives

No response

Additional context

No response

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

Contributor guide