-
Notifications
You must be signed in to change notification settings - Fork 874
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
gRPC throws error on large input size #942
Comments
@ankita4AI Can you try increasing |
hi @maaquib thanks for your response. please find below ts_logs for more information |
gRPC uses per-message size limits to manage incoming and outgoing messages. By default, gRPC limits incoming messages to 4 MB. There is no limit on outgoing messages.
|
Looks like this has to be made configurable on the server side by adding this parameter. Adding this to 0.4 roadmap |
I was trying to update startGRPCServer method in ModelServer.java |
@ankita4AI You can run the scripts here to build TS from source. |
Hi, I tried changing client side code just like @ankita4AI . Can confirm that it's not enough. Looking forward to server side changes in v0.4. Thanks |
Hi, will v0.4.0 be released sometime soon? Thanks |
Yes.
Thanks,
Li
From: Chandrachud Basavaraj ***@***.***>
Reply-To: pytorch/serve ***@***.***>
Date: Friday, April 16, 2021 at 9:29 AM
To: pytorch/serve ***@***.***>
Cc: "Ning, Li" ***@***.***>, State change ***@***.***>
Subject: Re: [pytorch/serve] gRPC throws error on large input size (#942)
Hi, will v0.4.0 be released sometime soon? Thanks
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub<#942 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFTASZGWCKI544OGWEKILZLTJBQSFANCNFSM4WI4KGXQ>.
|
Hello,
gRPC throws an error when the size of input request is bulky, which is not the case with REST requests.
works seamlessly for smaller batch sizes.
Where am I supposed to increase max size parameter?
PFB the error log
debug_error_string = "{"created":"@1611067667.277075000","description":"Error received from peer ipv6:[::1]:7070","file":"src/core/lib/surface/call.cc","file_line":1063,"grpc_message":"Received RST_STREAM with error code 8","grpc_status":1}"
Any help would be appreciated.
TIA
The text was updated successfully, but these errors were encountered: