Closed ryan-3m closed 1 year ago
This is not a bug. The client in 1.0.15 doesn't support gRPC. #3280 provides support for gRPC client and will be included in 1.0.16
Thank you for your response. I realized that the documentation was not written specifically for version 1.0.15, and I did not notice that "latest" in the documentation does not necessarily correspond to version 1.0.15.
I will close this issue for now.
Thanks again for your help.
Maybe it would be best for us to freeze docs on release, or at least hold features docs PRs until release so this doesn't happen :sweat_smile:.
Probably better to set the default docs to the latest release branch instead of main.
Describe the bug
I followed the documentation to create a BentoService that uses gRPC as its API server. The service can be called directly using gRPC without any issues. However, when I tried to create a client using
bentoml.client.Client.from_url
, I encountered an error.I encountered the following error:
To reproduce
Steps to reproduce:
with the following code:
Server:
Client:
Expected behavior
The client should be created successfully and I should be able to use it to call the BentoService using gRPC.
Environment
Operating system: Windows/Linux Python version: 3.9/3.10 BentoML version: 1.0.15