-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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] Factor out code for running uvicorn #6828
[Frontend] Factor out code for running uvicorn #6828
Conversation
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, please make sure to run full CI as it is required to merge (or just use auto-merge). To run full CI, you can do one of these:
🚀 |
@robertgshaw2-neuralmagic we can implement #6797 inside the new module |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. as long this doesn't break scripts.py
Signed-off-by: Alvant <[email protected]>
Following #6740, this PR further factors out common code for running the server, unifying the code structure between the OpenAI server entrypoint and the legacy server entrypoint. It also introduces a new module
vllm.server
for server-related code, which may be used for #6797.cc @dtrifiro