Skip to content
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

feat: added generic proto file for grpc service #2742

Merged
merged 10 commits into from Jul 13, 2022
Merged

feat: added generic proto file for grpc service #2742

merged 10 commits into from Jul 13, 2022

Conversation

Proto007
Copy link
Contributor

What does this PR address?

The generic proto file contains a BentoML service with an RPC called call. Fixed io_descriptor.proto file with updated name of Array instead of NumpyNdarray.

Before submitting:

Who can help review?

The proto file and changes are based on our discussion. Would appreciate any feedback!
@aarnphm @sauyon @ssheng

protos/bentoml_service.proto Outdated Show resolved Hide resolved
protos/io_descriptors.proto Show resolved Hide resolved
Copy link
Member

@aarnphm aarnphm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few early things:

  • Make sure to follow convention: We should adhere to Google convention.
  • Comments should be consistent. Preferrably //

protos/service.proto Outdated Show resolved Hide resolved
protos/service.proto Outdated Show resolved Hide resolved
protos/service.proto Outdated Show resolved Hide resolved
Comment on lines +7 to +10
oneof io_descriptor{
string text = 1;
Array array = 2;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should reserve a range eventually, yes.

protos/service.proto Outdated Show resolved Hide resolved
protos/service.proto Outdated Show resolved Hide resolved
protos/service.proto Outdated Show resolved Hide resolved
protos/service.proto Outdated Show resolved Hide resolved
protos/service.proto Outdated Show resolved Hide resolved
protos/io_descriptors.proto Outdated Show resolved Hide resolved
protos/io_descriptors.proto Show resolved Hide resolved
protos/io_descriptors.proto Show resolved Hide resolved
protos/io_descriptors.proto Show resolved Hide resolved
protos/io_descriptors.proto Show resolved Hide resolved
@aarnphm aarnphm merged commit f6eba62 into bentoml:grpc Jul 13, 2022
aarnphm added a commit that referenced this pull request Jul 14, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Jul 17, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Jul 19, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Jul 19, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Jul 21, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Jul 24, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Jul 30, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Aug 3, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Aug 5, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit to aarnphm/BentoML that referenced this pull request Aug 8, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm added a commit that referenced this pull request Aug 9, 2022
Co-authored-by: Sadab Hafiz <sadabhafizny@gmail.com>
Co-authored-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 13, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 14, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 15, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 16, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 16, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 16, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 16, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 16, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
aarnphm pushed a commit that referenced this pull request Sep 16, 2022
See #2634 and #2742.

Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants