You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is a simple pipeline to run a parallel loop inside another parallel loop. This works on the V1 compiler but not the V2 IR compiler. The errors we got is about incorrect parameters.
Traceback (most recent call last):
File "test.py", line 92, in <module>
kfp.v2.compiler.Compiler().compile(pipeline, __file__.replace('.py','.json'))
File "/Users/tommyli/opt/anaconda3/envs/py3/lib/python3.8/site-packages/kfp/v2/compiler/compiler.py", line 1137, in compile
pipeline_job = self._create_pipeline_v2(
File "/Users/tommyli/opt/anaconda3/envs/py3/lib/python3.8/site-packages/kfp/v2/compiler/compiler.py", line 1093, in _create_pipeline_v2
pipeline_spec = self._create_pipeline_spec(
File "/Users/tommyli/opt/anaconda3/envs/py3/lib/python3.8/site-packages/kfp/v2/compiler/compiler.py", line 915, in _create_pipeline_spec
self._group_to_dag_spec(
File "/Users/tommyli/opt/anaconda3/envs/py3/lib/python3.8/site-packages/kfp/v2/compiler/compiler.py", line 684, in _group_to_dag_spec
dsl_component_spec.update_task_inputs_spec(
File "/Users/tommyli/opt/anaconda3/envs/py3/lib/python3.8/site-packages/kfp/dsl/component_spec.py", line 336, in update_task_inputs_spec
assert component_input_parameter in parent_component_inputs.parameters, \
AssertionError: component_input_parameter: pipelineparam--pipelineparam--loop-item-param-1 not found. All inputs: parameters {
key: "pipelineparam--loop-item-param-3"
value {
type: STRING
}
}
parameters {
key: "pipelineparam--my_pipe_param"
value {
type: INT
}
}
Expected result
The IR should able to map the input parameters for sub-dag in sub-dag similar to the V1 Argo compiler.
Materials and Reference
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered:
Environment
Steps to reproduce
Below is a simple pipeline to run a parallel loop inside another parallel loop. This works on the V1 compiler but not the V2 IR compiler. The errors we got is about incorrect parameters.
Example pipeline:
Errors we got from the v2 IR compiler:
Expected result
The IR should able to map the input parameters for sub-dag in sub-dag similar to the V1 Argo compiler.
Materials and Reference
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.
The text was updated successfully, but these errors were encountered: