-
Notifications
You must be signed in to change notification settings - Fork 113
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
doc: Add Python Client Examples #395
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few more updates. I think there'd be some confusion on the headers and flow of the sample if you read it like a new user. You can probably be a bit more descriptive like "Check InferenceService status after deploying" or " etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lgdeloss, I think this is a good starting point for samples showing how to manipulate InferenceServices using the Python SDK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you Luis (and Rafael). It's great to finally get a few Python SDK examples.
Should we rename the file to "python_sdk_examples.ipynb" since this entire repo is dedicated to "modelmesh".
I'm not sure if "samples" is the best name for the folder. Samples imply a user can take something and use it with/witout modifications, like a model, a YAML file, a script. This notebook is more like a "how to" guide or tutorial. If we plan more SDK examples in the future maybe the folder should be "sdk" or "python-sdk" or "notebooks" or "examples", if we think we will have more in the future.
I have a few more comments/suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good! Just a few more nit-picks. In some places we could add a bit more text explanations to use this notebook to inform the user about what/why is happening / how ModelMesh/KServe works in the background.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @lgdeloss
/lgtm
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
Signed-off-by: Luis Delossantos <luisgd@ibm.com>
New changes are detected. LGTM label has been removed. |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: ckadner, lgdeloss 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 |
#### Motivation - There is lack of documentation for how to interface with modelmesh-serving using python sdk #### Modifications - Added documentation on how to interface with Python client sdk for modelmesh-serving - Added `docs/samples/modelmesh_sdk_sample.ipynb` #### Result - Works on #316 Signed-off-by: Luis Delossantos <luisgd@ibm.com> (cherry picked from commit 5d71c59)
#### Motivation - There is lack of documentation for how to interface with modelmesh-serving using python sdk #### Modifications - Added documentation on how to interface with Python client sdk for modelmesh-serving - Added `docs/samples/modelmesh_sdk_sample.ipynb` #### Result - Works on #316 Signed-off-by: Luis Delossantos <luisgd@ibm.com> (cherry picked from commit 5d71c59)
Motivation
Modifications
docs/samples/modelmesh_sdk_sample.ipynb
Result