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
MLServer not working with deployments options with Ambassador, seldon-core #549
Comments
Hey @kurianbenoy-sentient , If you remove the Besides the above, @kurianbenoy-sentient could you provide more details of:
PS: @kurianbenoy-sentient given that this feels more like an issue at the Seldon Core / Ambassador level (rather than MLServer's), you may be able to get further help raising it on the https://github.com/SeldonIO/seldon-core repo (or Seldon slack) instead. |
We tried after removing seldon.io/ambassador-config from annotations of
We are trying to use the model by using custom_methods, instead of the default predict method in MLServer/seldon-core. This is the code for the method:
Yes, the pod is running correctly with no errors.
Yes. Normal seldon-core installation with similar ambassador configuration works correctly when I tried out. This issue occurs only in case of seldon-core.
Now we are using Ambassador with a version supported by seldon-core, and normal seldon-core stuff work with ambassador. We are not using Ambassador Edge stack. Thanks for your detailed reply @adriangonz |
@kurianbenoy-sentient could you share the full endpoint you're using to hit your model (including the custom path)? This should be something like |
@adriangonz we tried with the endpoint: Inorder to by pass the executor what needs to be done? In normal seldon-core due to this issue, we are actually using annotations with rewrite:
|
Hey @kurianbenoy-sentient, you can find more info on bypassing the executor in the Seldon Core docs: I'd try that first, removing the Ambassador annotation. Mainly to avoid getting side effects. |
Today after bypassing the executor in seldon core, by following the link you shared. We were able to access our custom API endpoint via ambassador with the url @adriangonz We want to have the abilitiy to rewrite the endpoint from |
We were able to customize the URL in ambassador, by using no-executors with the below configuration. Yet is it possible without using no-executors so that we can avail the seldon-core's graph functionality? Or with no-executors is graph functionality available ? cc: @adriangonz
|
Hey @kurianbenoy-sentient , On the question about the URL rewrite, I'm not an expert on Ambassador, but perhaps the Ambassador community may be better at answering that one? On the second one, if you disable the executor you will lose the graph functionality on that particular model. The problem with custom endpoints is that the model's requests and responses become a black box, so there's no way for the Seldon Core executor to know how to chain them, and propagate them through the graph. Given that the pending remaining issues seem to be related to other projects (i.e. Ambassador and Seldon Core), I'll be closing this ticket. Feel free to open up a new one if you find any other MLServer issue or if you've any extra questions. |
I have been trying to deploy a micro service we developed to use with MLServer. We have been deploying it previously with
seldon-core
and we are usingambassador
as well.seldon_deployment.yaml
file is given below:When accessing the URL via ambassador we are 503 HTTP error indicating service is unavailable.
Update: (April 1, 2022)
I was able to bring up a normal kubernetees deployment by following a
deployment.yaml
similar to the one provided in tutorial. Yet ambassador support for MLServer seems not working at the moment.Update (April 20, 2022)
With help of @adriangonz solution, by passing no-executors in seldon-core we are now able to customize the URL with ambassador. Yet is it possible without by passing
no-executors
so that we can avail the seldon-core's graph functionality?The text was updated successfully, but these errors were encountered: