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

[Frontend] Move async logic outside of constructor #4674

Merged
merged 2 commits into from
May 9, 2024

Conversation

DarkLight1337
Copy link
Member

@DarkLight1337 DarkLight1337 commented May 8, 2024

By pushing the async logic outside the constructor, it is no longer necessary to have a separate post_init method. This helps avoid accidentally using uninitialized attributes especially when modifying the subclasses. It also makes the async part more explicit as it was previously "hidden" inside the (sync) constructor.

This is a follow-up to #2727.

@simon-mo simon-mo merged commit f12b20d into vllm-project:main May 9, 2024
53 of 55 checks passed
@DarkLight1337 DarkLight1337 deleted the openai-async branch May 9, 2024 05:56
z103cb pushed a commit to z103cb/opendatahub_vllm that referenced this pull request May 9, 2024
dtrifiro pushed a commit to dtrifiro/vllm that referenced this pull request May 21, 2024
Temirulan pushed a commit to Temirulan/vllm-whisper that referenced this pull request Sep 6, 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.

2 participants