Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Add shutdown() method to ExecutorBase #4349

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

njhill
Copy link
Collaborator

@njhill njhill commented Apr 25, 2024

Called when the LLMEngine is garbage collected. The executor might not otherwise be garbage collected itself if it is referenced from other threads.

Default is no-op but can be overwritten by subclasses.

In preparation for introducing a MultiprocessingGPUExecutor.

Called when the LLMEngine is garbage collected. The executor might not otherwise be garbage collected itself if it is referenced from other threads.

Default is no-op but can be overwritten by subclasses.

In preparation for introducing a `MultiprocessingGPUExecutor`.
@njhill njhill requested a review from zhuohan123 April 25, 2024 17:44
@njhill njhill merged commit 15e7c67 into vllm-project:main Apr 25, 2024
48 checks passed
@njhill njhill deleted the executor_shutdown branch April 25, 2024 23:32
robertgshaw2-neuralmagic pushed a commit to neuralmagic/nm-vllm that referenced this pull request May 6, 2024
z103cb pushed a commit to z103cb/opendatahub_vllm that referenced this pull request May 7, 2024
mawong-amd pushed a commit to ROCm/vllm that referenced this pull request Jun 3, 2024
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.

None yet

3 participants