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] add build_server and make run_server async #107

Closed
wants to merge 13 commits into from

Conversation

dtrifiro
Copy link

This aims to split run_server into two: one part responsible for building the uvicorn.Server and another responsible for running it.

With this:

  • run_server() is now a coroutine, which can be run using asyncio.run() or just awaited when running in an async context
  • build_server() can now take optional kwargs, which are passed to uvicorn and allow for further customization of the server

Copy link

openshift-ci bot commented Jul 24, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link

openshift-ci bot commented Jul 24, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtrifiro

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dtrifiro dtrifiro force-pushed the entrypoint-split-server branch 3 times, most recently from f2d9ecb to 08f4f19 Compare July 24, 2024 10:57
@dtrifiro dtrifiro closed this Jul 24, 2024
@dtrifiro dtrifiro deleted the entrypoint-split-server branch July 25, 2024 08:15
prarit pushed a commit to prarit/vllm that referenced this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.