Skip to content

Conversation

@jbding
Copy link

@jbding jbding commented May 13, 2024

Why are these changes needed?

  • The vllm_worker code does not catch exceptions: when I check vllm's SamplingParams function, there is parameter verification and the error ValueError is thrown out.
  • Because there is no capture, the semaphore is not released after the code execution fails, causing the model to fail to work.

Related issue number (if applicable)

Fix #3328

Checks

  • [ ✓] I've run format.sh to lint the changes in this PR.
  • [ ✗] I've included any doc changes needed.
  • [ ✓] I've made sure the relevant tests are passing (if applicable).

Copy link
Author

@jbding jbding left a comment

Choose a reason for hiding this comment

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

When you have a moment. Could you please take a look at this PR? @merrymercy @vikrantrathore @yejunjin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vllm worker does not release semaphore

2 participants