-
Notifications
You must be signed in to change notification settings - Fork 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
[LLM Serving] add skeleton public api to ray.serve.llm #50297
Conversation
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
Signed-off-by: Gene Su <[email protected]>
@kouroshHakha maybe you can help to do a first pass |
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.
just a quick question o.w. looks good for the first PR.
try: | ||
from ray.llm._internal.serve import ( | ||
LLMConfig as _LLMConfig, | ||
VLLMDeployment as _VLLMDeployment, | ||
LLMModelRouterDeployment as _LLMModelRouterDeployment, | ||
LLMServingArgs, | ||
) | ||
except ImportError: | ||
_LLMConfig = object | ||
_VLLMDeployment = object | ||
_LLMModelRouterDeployment = object | ||
LLMServingArgs = object | ||
|
||
from ray.serve.deployment import Application | ||
from ray.util.annotations import PublicAPI |
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.
Let's define the base classes in their correct spot and not have this ImportError ? similar to #50015
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.
or is this gonna change in the next PR?
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.
It's gonna be a next PR. Was thinking to have this one just be the skeleton code
Signed-off-by: Gene Su <[email protected]>
Why are these changes needed?
add llm serving skeleton public api to ray.serve.llm and links to doc
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.