-
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
Tags created by components inside combiner don't propagate #1927
Comments
@gmattar thanks for reporting this - I will look into it and get back to you |
@gmattar Would you be so kind to provide a |
The reason I ask is because up to my knowledge the only component that can go in the request flow after |
this is the full graph (I simplified it a bit in the issue description): graph:
name: response-generator
type: OUTPUT_TRANSFORMER
endpoint:
type: REST
children:
- name: model-a
type: OUTPUT_TRANSFORMER
endpoint:
type: REST
children:
- name: to-tensor
type: OUTPUT_TRANSFORMER
endpoint:
type: REST
children:
- name: image-crop
type: COMBINER
endpoint:
type: REST
children:
- name: downloader-1
type: TRANSFORMER
endpoint:
type: REST
children: []
- name: downloader-2
type: TRANSFORMER
endpoint:
type: REST
children:
- name: to-tensor
type: TRANSFORMER
endpoint:
type: REST
children:
- name: model-2
type: MODEL
endpoint:
type: REST
children: [] Also, this thread in Seldon slack channel has a bit more information about my graph: |
The only thing I can confirm is that inside aggregate function |
Do you think this could have been fixed in 1.1.1-rc? Do you have any guide on how to debug the orchestrator? |
As far as I am aware this should work with Aggregation and further propagation of tags should now be happening on the Python wrapper. |
@gmattar Do you have any update on this? As we couldn't reproduce the problem can we close the issue? As a final check maybe you can try to see if you can reproduce the issue in minimal setup like the notebook I linked? |
Sorry, I didn't have time yet, end of quarters are messy. I'll update Seldon to 1.2 and test next week |
No worries @gmattar, we can keep this one open until you can confirm. |
@gmattar As I couldn't replicate this issue on my side can we close it? |
#2277 @RafalSkolasinski Hi i am facing an issue with connecting a combiner to a model. Is this possible? are there any docs available about the list of components that can and cannot be connected to other components? I was also wondering if I could connect an output transformer to a model? Please do reply. |
@divyadilip91 let's follow in another issue if there is a problem but few things are worth mentioning:
|
@RafalSkolasinski Thanks for your reply. Yes I have ensured that the seldon core installed in the cluster and the models are run using the same version of seldon. |
The only node than can be present after the combiner AFAIK is the output transformer, unfortunately. |
Basically, all models create tags and the Transformer Output needs to read them before forwarding the result of Model 3. I'm using Seldon 1.1 with REST requests.
The problem is that I can only see the tags from Model 3 inside Transformer.
These are the steps I took and what I found after inspecting the components:
First I included a breakpoint inside
aggregate
but was not able to see the tags, themeta
parameter was empty. Then, I included anaggregate_raw
function and was able to see them. meta is not passed toclient_aggregate
in this scenario:seldon-core/python/seldon_core/seldon_methods.py
Line 433 in de2dce0
I changed SELDON_LOG_LEVEL to DEBUG and checked the response sent by the Combiner component. The tags were passed to executor
Next, I checked the meta parameter passed to Model 3 and the metas were empty again.
Last, I checked the tags in Transformer Ouput and only the data of Model 3 was available
Originally posted by @gmattar in #1474 (comment)
@gmattar It seems that aggregate methods are not passing
meta
argument which contain tags.Could you open a new issue for this and add information what version of wrapper are you using?
Originally posted by @RafalSkolasinski in #1474 (comment)
I'm building my own custom image instead of using a wrapper:
The text was updated successfully, but these errors were encountered: