-
Notifications
You must be signed in to change notification settings - Fork 10
Add dev quick start guide #16
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Angel Luu <[email protected]>
Signed-off-by: Angel Luu <[email protected]>
docs/quickstart.md
Outdated
|
|
||
| ## Build and start a runtime server with sample_lib | ||
|
|
||
| Run the `start_runtime_with_sample_lib` python script: |
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.
Is it worth duplicating the information that we have in the Caikit examples README? If we want to add more information, I feel we should add it to that readme instead of duplicating it here? That would make this doc pretty small though
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.
Otherwise with the API changes that are incoming, we'll have to make changes to 2 places 😢
docs/quickstart.md
Outdated
|
|
||
| ### To use the REST Server for inference | ||
|
|
||
| - In a browser of choice, visit `http://localhost:8080/docs/`. All the available inference rpcs are listed. Expand on the correct task for the model you trained. In this example, we are using `api/v1/{model_id}/task/sample`. |
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.
@anhuong had a question about why we use the /task/sample API to make inference calls after we train a Sample Module. I guess it's worth mentioning that somewhere
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.
We need to assume a user doesn't have much idea what a Module is
Signed-off-by: Angel Luu <[email protected]>
Add a quick start on how to stand up a runtime server with
sample_liband how to send some basic train and inference requests