-
Notifications
You must be signed in to change notification settings - Fork 832
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
complex graph only expose endpoint for last metioned container and does not pass forward the output of the parent model #2370
Comments
Here is an opposite example when I switch the order of the containers stepone with steptwo in the template:
{"data":{"names":[],"ndarray":[7]},"meta":{}} is the dummy output of steptwo (What I expected to get when I passed this message in the first place to stepone) |
@cliveseldon |
Seldon treats each component as an isolated container which means the developer does not need to know how each container is used in different graphs. Seldon adds a Service Orchestrator (a golang sidecar called the "executor") to manage the graph defined. So to get the graph functionality you need to call the top level endpoint. If you call any of the container endpoints you will just get the functionality exposed in that container only. Hope that makes sense. |
Hi Clive, I tried what you suggested and it worked
and call a curl: Response: |
hi maorlipchuk I am trying something similar to yours, did you make any changes in the graph, and are using a different port number since initially you used 9001 and later you used 8000. I have given a graph like this, The response I'm getting is only from one container and not getting passed to the second container.
Can you please help me with this |
Hi all,
I was trying to make my own complex graph similar to what is described here:
https://docs.seldon.io/projects/seldon-core/en/latest/graph/inference-graph.html?highlight=graph#example-of-graph-with-pre-processor-and-post-processor
I used my own graph structure almost similar to the pre-processor example mentioned above:
Once I apply the following template, I can see that a new pod is being created containning 3 containers, stepone, steptwo and a sidecar
but I only see one endpoint that is being discovered which belong to the last model wrapper metioned in containers:
further more when I use port-forward and pass a JSON payload it seems that the message does not get forward to steptwo:
kubectl port-forward -n seldon-system svc/seldon-model-example-stepone 9001:9001
I get only response from stepone model and seems that the message does not get forward to steptwo:
The logs of stepTwo are empty
The text was updated successfully, but these errors were encountered: