-
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
[ray.llm] Minor improvments #50748
[ray.llm] Minor improvments #50748
Conversation
@@ -18,7 +18,7 @@ | |||
from ray.llm._internal.utils import try_import | |||
from ray.util.scheduling_strategies import PlacementGroupSchedulingStrategy | |||
|
|||
vllm = try_import("vllm", warning=True) | |||
vllm = try_import("vllm", error=True) |
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.
- Consider failing when constructing
VLLMProcessorConfig
instead - Please make sure the error message is actionable (pip install -U vllm or something)
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.
If anything probably pointing to pip install ray[llm]
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!
@@ -18,7 +18,7 @@ | |||
from ray.llm._internal.utils import try_import | |||
from ray.util.scheduling_strategies import PlacementGroupSchedulingStrategy | |||
|
|||
vllm = try_import("vllm", warning=True) | |||
vllm = try_import("vllm", error=True) |
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.
If anything probably pointing to pip install ray[llm]
Co-authored-by: Richard Liaw <rliaw@berkeley.edu> Signed-off-by: Cody Yu <hao.yu.cody@gmail.com>
Why are these changes needed?
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.