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

docs: Indicate which model-runtime proto SPI rpcs are optional #50

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

njhill
Copy link
Member

@njhill njhill commented Jul 29, 2022

Motivation

In the model server gRPC service provider interface, implementation of the predictModelSize RPC is optional, and modelSize doesn't need to be implemented if sizes are always returned in the loadModel response.

This is documented in the modelmesh docs but not in the comments of the service .proto file.

Modifications

Add appropriate wording to doc comments in the model-runtime.proto file to convey the fact these rpcs aren't required.

Result

Clearer docs

Signed-off-by: Nick Hill nickhill@us.ibm.com

Motivation

In the model server gRPC service provider interface, implementation of the predictModelSize RPC is optional, and modelSize doesn't need to be implemented if sizes are always returned in the loadModel response.

This is documented in the modelmesh docs but not in the comments of the service .proto file.

Modifications

Add appropriate wording to doc comments in the model-runtime.proto file to convey the fact these rpcs aren't required.

Result

Clearer docs

Signed-off-by: Nick Hill <nickhill@us.ibm.com>
@njhill njhill added the documentation Improvements or additions to documentation label Jul 29, 2022
@njhill
Copy link
Member Author

njhill commented Jul 29, 2022

These should also be synced to the copy in the docs dir of the modelmesh-serving repo.

Copy link

@chinhuang007 chinhuang007 left a comment

Choose a reason for hiding this comment

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

/lgtm

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chinhuang007, njhill

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kserve-oss-bot kserve-oss-bot merged commit 77dbeab into main Aug 2, 2022
kserve-oss-bot pushed a commit to kserve/modelmesh-serving that referenced this pull request Aug 2, 2022
#### Motivation

The docs dir in this repo contains a copy of the `model-runtime.proto` service definition from the model-mesh repo. It was [recently updated](kserve/modelmesh#50) with clearer comments for a couple of the RPC methods.

#### Modifications

Sync the latest version to this repo.

Signed-off-by: Nick Hill <nickhill@us.ibm.com>

Signed-off-by: Nick Hill <nickhill@us.ibm.com>
@njhill njhill deleted the proto-doc branch August 2, 2022 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved documentation Improvements or additions to documentation lgtm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants