-
Notifications
You must be signed in to change notification settings - Fork 834
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
explainers for SeldonDeployment graphs #685
Comments
Q - would we also allow the user to optionally set a contanerSpec for the explainer?
|
Optional containerSpec would be good. Possibly optional podSpec might be better. Note that we will be injecting parameters into the spec that the user supplied and adding an initContainer. So if we did podSpec and there were multiple containers we'd have to inject params for each user-supplied container. Let's try containerSpec first and see how that goes. |
We also want to add the use of initContainers to support #689 This adds to what we need to do as:
|
With the PR above the user will be able to set further config on an explainer in addition to the containerSpec and serviceAccount, allowing for configuration of protocol, port and other config following https://github.com/kubeflow/kfserving/blob/e4be2c6f6b844c093ca5bd85048f3382c54e4f37/docs/samples/explanation/income/README.md#running-without-a-pretrained-explainer e.g.
|
The pending bit on this is now the docs/examples update. |
Fixed |
We'd like to add the ability to define an explainer for a SeldonDeployment. This would be limited to one explainer for the whole Graph. Here is an example of what an explainer could look like in the yaml - note the explainer section towards the bottom:
The operator should automatically create a Deployment for the explainer. The Deployment of a tabular explainer automatically use an image based on https://github.com/kubeflow/kfserving/tree/master/docs/samples/explanation/income
The result of adding an explainer to the graph should be that a Deployment for the explainer is created. The TABULAR_EXPLAINER type would have its own pre-configured image and other explainer types would have their own and their own parameters.
It would not be necessary to specify the URL to the predict endpoint of the target model as we would know this from the graph.
Currently the operator only creates Deployments from reading the
componentSpecs
. We'd add code to create an extra Deployment if the explainer section is present.We'd automatically add an initContainer to the Deployment to download the model from the relevant bucket type and it should be able to read secrets in the same format as KFServing.
This may also involve a change to spec of the custom resource definition.
The text was updated successfully, but these errors were encountered: