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
Nested ParallelFor: can't resolve parameter from outer loop operation #2829
Comments
/assign @numerology |
@numerology @Ark-kun I wonder, might there be some workaround I could use here? If I don't nest the loops, can I store a reference to the operations from one loop, and access them from within another, top-level loop? |
We'll investigate this issue soon. |
I'm still having the same problem. Is this fixed? |
I'm also running into this issue |
/reopen |
@Bobgy: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm still having this issue, here is perhaps a simpler reproduction:
Error:
Putting the
|
/assign @chensun |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still an issue for me on the latest release |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it. |
This is still an issue. Can someone look into it? 🤔 I see people commenting but that it has not been resolved but it was automatically closed |
/reopen |
@dari-o: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Still facing this issue, is this solved or is there any workaround for the same? |
What happened:
I'm creating a pipeline which runs lots of training jobs in parallel. Parameters are passed as arrays, and all combinations of parameters are used to run.
First, new data into the system is validated (first step). Once per pipeline run!
If one parameter changes, a different data set as a whole needs to be generated (this is the second step).
For all combinations of two other parameters, the data set needs to be transformed and converted into a different format (third step).
Then, all other parameters can use one of the exports generated.
The problem I think is that the output of export operations (from an outer ParallelFor loop) is being accessed from the inner operations (another ParallelFor loop within it).
Any advice greatly appreciated, thank you.
Error message:
Trimmed (pseudo-) code, which builds/uploads fine, but does not create any run successfully:
What did you expect to happen:
Run to be created, graph to be displayed.
What steps did you take:
Ran the above code, created a run.
Other
This nested sample:
https://github.com/kubeflow/pipelines/blob/master/sdk/python/tests/compiler/testdata/withitem_nested.py#L42
...looks to work, but it doesn't use output from the outer loop. Should
op11
here be able to take an input from an output ofop1
?The text was updated successfully, but these errors were encountered: