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

[LLM] OSS LLM Serving #50643

Merged
merged 61 commits into from
Feb 19, 2025
Merged

[LLM] OSS LLM Serving #50643

merged 61 commits into from
Feb 19, 2025

Conversation

GeneDer
Copy link
Contributor

@GeneDer GeneDer commented Feb 16, 2025

Why are these changes needed?

This PR adds all the components required to run llm serving application. Main components added are:

  • build_vllm_deployment
  • build_openai_app
  • VLLMDeployment
  • LLMModelRouterDeployment

Things to follow up:

  • Add more test coverages
  • Docs and Example
  • Use Serve's DeploymentConfig and AutoscalingConfig in LLMConfig
  • Add release tests

Related issue number

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
@GeneDer GeneDer added the go add ONLY when ready to merge, run all tests label Feb 16, 2025
Signed-off-by: Gene Su <e870252314@gmail.com>
@GeneDer GeneDer changed the title OSS LLM Serving [LLM] OSS LLM Serving Feb 16, 2025
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: Gene Su <e870252314@gmail.com>
@GeneDer GeneDer marked this pull request as ready for review February 18, 2025 07:34
@GeneDer
Copy link
Contributor Author

GeneDer commented Feb 18, 2025

Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the python/__init__.py file required?

@GeneDer
Copy link
Contributor Author

GeneDer commented Feb 19, 2025

why is the python/__init__.py file required?

oh good call, maybe that got created by my IDE some how. let me drop it

Copy link
Collaborator

@aslonnie aslonnie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(and does not seem to have anything substantial that needs my review?)

Signed-off-by: Gene Su <e870252314@gmail.com>
@GeneDer
Copy link
Contributor Author

GeneDer commented Feb 19, 2025

(and does not seem to have anything substantial that needs my review?)

correct, this doesn't contain any dependencies related changes after all

@kouroshHakha kouroshHakha enabled auto-merge (squash) February 19, 2025 01:44
@kouroshHakha kouroshHakha merged commit ee2ed35 into ray-project:master Feb 19, 2025
6 checks passed
@GeneDer GeneDer deleted the oss-rayllm branch February 19, 2025 04:39
400Ping pushed a commit to 400Ping/ray that referenced this pull request Feb 20, 2025
This PR adds all the components required to run llm serving application.
Main components added are:
- `build_vllm_deployment`
- `build_openai_app`
- `VLLMDeployment`
- `LLMModelRouterDeployment`

Signed-off-by: Gene Su <e870252314@gmail.com>
Signed-off-by: 400Ping <43886578+400Ping@users.noreply.github.com>
israbbani pushed a commit that referenced this pull request Feb 25, 2025
This PR adds all the components required to run llm serving application.
Main components added are:
- `build_vllm_deployment`
- `build_openai_app`
- `VLLMDeployment`
- `LLMModelRouterDeployment`


Signed-off-by: Gene Su <e870252314@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go add ONLY when ready to merge, run all tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants