Repository navigation
[WIP] fix: enable clean shutdown of all workers and processes - #327
Closed
ishandhanani wants to merge 1 commit into
Closed
ishandhanani wants to merge 1 commit into
ishandhanani wants to merge 1 commit into
Conversation
ishandhanani
requested review from
GuanLuo,
alec-flowers,
biswapanda,
grahamking,
hhzhang16,
hutm,
julienmancuso,
kkranen,
nnshah1,
paulhendricks,
piotrm-nvidia,
ptarasiewiczNV,
rmccorm4,
ryanolson,
tanmayv25,
tedzhouhk and
tmonty12
as code owners
March 21, 2025 00:35
ryanolson
reviewed
Apr 1, 2025
|
|
||
| asyncio.run(worker()) | ||
| # Define the setup_signal_handlers function within main's scope | ||
| async def setup_signal_handlers(): |
Contributor
There was a problem hiding this comment.
should this go in the @dynamo_worker decorator in the python bindings?
Contributor
Author
There was a problem hiding this comment.
Good idea - I'm getting back to this and will try
saturley-hall
requested review from
PeaBrane,
mohammedabdulwahhab and
sshchoi
as code owners
April 11, 2025 01:01
saturley-hall
force-pushed
the
ishan/ctrlc
branch
from
April 11, 2025 03:28
5e6771f to
36a2c58
Compare
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There's been a couple different issues people running into lingering zombie processes even after you run a
ctrl-c. Many times these are VLLM processes. This PR does 2 thingsasync_shutdownhook allowing our reference examples to use things likeshutdown_background_loop()from the VLLM AsyncLLMEngine code.As of right now - I have tested on 4 examples and think I have (1) working.