-
Notifications
You must be signed in to change notification settings - Fork 827
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: Add a section in Servers for setting extra capabilities #4718
Docs: Add a section in Servers for setting extra capabilities #4718
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.
We should probably revisit this page and add more detail here, as it's a bit brief overall.
This PR is a good step towards that 🚀
```{literalinclude} ../../../../samples/servers/mlserver-extra-capabilities.yaml | ||
:language: yaml | ||
``` | ||
Note that `serverConfig: mlserver` will provide default capabilities for MLServer as shown above, and the values specified in `extraCapabilities` are appended to them to create a single list of capabilities. |
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.
Note that `serverConfig: mlserver` will provide default capabilities for MLServer as shown above, and the values specified in `extraCapabilities` are appended to them to create a single list of capabilities. | |
Note that `serverConfig: mlserver` will provide default capabilities for MLServer as shown above, and the values specified in `extraCapabilities` are appended to them to create a single list of capabilities for this `Server`. |
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.
Note that `serverConfig: mlserver` will provide default capabilities for MLServer as shown above, and the values specified in `extraCapabilities` are appended to them to create a single list of capabilities. | |
This server, `mlserver-extra`, inherits a default set of capabilities via `serverConfig: mlserver`. | |
These defaults are discussed above. | |
The `extraCapabilities` are appended to these to create a single list of capabilities for this server. |
Alternative suggestion that perhaps read better?
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.
Yes the second suggestion reads better. I added a new commit suggestion below myself as I couldn't apply it to the outdated file.
Co-authored-by: Alex Rakowski <20504869+agrski@users.noreply.github.com>
What this PR does / why we need it:
Add a section in
Servers
page explaining how to setextraCapabilities
for servers andrequirements
for models.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer: