-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[Serve] Config Serve's gRPC proxy to allow large payload #43114
Conversation
Signed-off-by: Gene Su <e870252314@gmail.com>
@@ -61,7 +63,7 @@ def create_serve_grpc_server(service_handler_factory): | |||
thread_pool=None, | |||
generic_handlers=(), | |||
interceptors=(), | |||
options=(), | |||
options=GRPC_OPTIONS, |
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.
what are the options supported here? are we sure we want to share the configuration?
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.
There was a whole list of options that Ray currently supported
ray/python/ray/util/client/common.py
Line 68 in ca88ce7
GRPC_OPTIONS = [ |
Signed-off-by: Gene Su <e870252314@gmail.com>
In the future such things can probably get lumped into some field in the proxy |
…#43114) --------- Signed-off-by: Gene Su <e870252314@gmail.com> Signed-off-by: tterrysun <terry@anyscale.com>
…#43114) --------- Signed-off-by: Gene Su <e870252314@gmail.com>
Why are these changes needed?
A user reported a bug unable to send large payloads with Serve's gRPC proxy. This PR configs Serve's gRPC proxy ] to allow the clients to setup larger message limits. Also, add a test to ensure this case will be caught in the future.
Related issue number
Closes #43109
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.