Skip to content

Conversation

@joerunde
Copy link
Collaborator

@joerunde joerunde commented Dec 9, 2024

This PR:

  • Backports the request id uniqueness validation from the v1 engine to the v0 engine. This prevents the engine from hanging on requests with duplicate request ids and failing to shutdown without kill -9
  • Changes the KeyError to a ValueError for one of the two places where the request id validation is done in the v1 engine. This causes requests with duplicate IDs to result in a 400 instead of a 500 error

FIX #10583

@github-actions
Copy link

github-actions bot commented Dec 9, 2024

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) December 10, 2024 06:46
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Dec 10, 2024
@DarkLight1337 DarkLight1337 merged commit 9b9cef3 into vllm-project:main Dec 10, 2024
65 of 67 checks passed
sleepwalker2017 pushed a commit to sleepwalker2017/vllm that referenced this pull request Dec 13, 2024
@joerunde joerunde deleted the request-id-validation branch December 16, 2024 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Duplicate request_id breaks the engine

2 participants