-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
[Misc] Deprecation Warning when setting --engine-use-ray #7424
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
Changes from 1 commit
e968780
d7a2540
e1bdbb2
b3303f8
f4a6e8a
66e8724
241f7a3
2f94098
f0f0d45
3e62d17
93821c0
64089dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,7 @@ | |
| from vllm.sampling_params import SamplingParams | ||
| from vllm.sequence import ExecuteModelRequest, SamplerOutput | ||
| from vllm.usage.usage_lib import UsageContext | ||
| from vllm.utils import print_warning_once | ||
|
|
||
| logger = init_logger(__name__) | ||
| ENGINE_ITERATION_TIMEOUT_S = envs.VLLM_ENGINE_ITERATION_TIMEOUT_S | ||
|
|
@@ -510,6 +511,12 @@ def __init__(self, | |
| self.log_requests = log_requests | ||
| self.engine = self._init_engine(*args, **kwargs) | ||
|
|
||
| if self.engine_use_ray: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we can hard fail here, and put an env var to turn it on with a warning. something like: if self.engine_use_ray:
if envs.VLLM_ALLOW_ENGINE_USE_RAY:
# print warning
else:
# directly error, with the error message pointing to the RFC issuefor the link, please use full url.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for your comment @youkaichao. I added modifications to address your suggestions. |
||
| print_warning_once( | ||
| "DEPRECATED. `--engine-use-ray` is deprecated and may " | ||
youkaichao marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "be removed in a future update. " | ||
| "See #7045.") | ||
|
|
||
| self.background_loop: Optional[asyncio.Future] = None | ||
| # We need to keep a reference to unshielded | ||
| # task as well to prevent it from being garbage | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.