-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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[serve] gRPC] Unable to pickle protobuf objects #45351
Comments
@mgierada I just tried it again on Ray master and it has no issue. The only difference in the dependencies is I'm on Otherwise you can probably try those files generated from my version to see if it solves the issue
|
Hey @GeneDer Thanks for taking a look. This is still not working for me. I made sure I am running the same version of |
oh actually another difference, I'm running on Python 3.10.12. Maybe try it out. Also my pickle version is 4.0 not sure if that makes a difference. |
What happened + What you expected to happen
I went through the documentation with 1 to 1 proto file but I keep getting the following errors when running the app.
Similar issue was posted here by someone else https://discuss.ray.io/t/keep-getting-error-typeerror-cannot-pickle-classmethod-descriptor-object/10153
Versions / Dependencies
but I tired so many version and combination including the latest grpcio-tools, grpcio and protobuf as well as the very old one. The issue is still the same.
I am running python 3.11.9 and apple silicon.
Reproduction script
Please follow the official documentation https://docs.ray.io/en/latest/serve/advanced-guides/grpc-guide.html
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: