replacement of components with "@graph_component" decorator in V2 #10717
-
Please advise or correct me in following Use Case: With kfp V1:
With kfp V2: the "@graph_component" decorator doesn't exist, so there is no way to run a task recursively. A workaround would be to implement "get and check state" loop, like "while" loop, inside of the same component function or command (E.g. using of "dsl.If" wouldn't be possible then). Is my assumption for V2 correct? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
I never user @graph_component before, but a quick check in SDK code makes me thing that the @graph_component was replaced by @dsl.pipeline, so you can decorate multiple functions with @dsl.pipeline and call them inside the main one. |
Beta Was this translation helpful? Give feedback.
-
hey @rimolive , short question - should I maybe open an issue on this subject? |
Beta Was this translation helpful? Give feedback.
Issue #10748 created. We can move the discussion there.