Skip to content

Conversation

russellb
Copy link
Member

While testing V1 + multiprocessing, I observed that my offline
inference test script would hang at the end and not exit. There was
shutdown code here that depended on garbage collection to trigger it,
but it wouldn't get far enough for that to happen.

This approach of using atexit to register the cleanup handler is the
same as is used in the multiproc_executor.

Signed-off-by: Russell Bryant rbryant@redhat.com

While testing V1 + multiprocessing, I observed that my offline
inference test script would hang at the end and not exit. There was
shutdown code here that depended on garbage collection to trigger it,
but it wouldn't get far enough for that to happen.

This approach of using `atexit` to register the cleanup handler is the
same as is used in the `multiproc_executor`.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Copy link

👋 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.

🚀

@robertgshaw2-redhat robertgshaw2-redhat enabled auto-merge (squash) December 11, 2024 00:06
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Dec 11, 2024
@youkaichao youkaichao disabled auto-merge December 11, 2024 09:26
@youkaichao youkaichao merged commit 61b1d2f into vllm-project:main Dec 11, 2024
58 of 64 checks passed
sleepwalker2017 pushed a commit to sleepwalker2017/vllm that referenced this pull request Dec 13, 2024
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.

4 participants