-
Notifications
You must be signed in to change notification settings - Fork 711
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
Support branch/condition component #498
Comments
Hi @zhitaoli, it is possible to filter data based on some criteria. This criteria usually is defined in terms of your data. But, it wouldn't have to be. You could just create a component with a parameter "switch" that makes your decision. This component could output all the data, some of the data, none of the data, or even output some data in one output channel and the other data in a different output channel. Would this type of strategy work for your use case? |
@zhitaoli Is there an update to this? My main motivation would be to enable/disable Tuner based on a RuntimeParameter in KubeFlow. |
@kennethyang404 and @ruoyu90 will work on this. Can you confirm whether branching based on value of a RuntimeParameter is part of the design scope? |
Sorry for the very late response, but this looks viable through |
The current data aware TFX pipeline and component does not support conditional execution or branching (consider the PythonBranchOperator in Airflow or Argo's conditional). We should provide some support here.
@ruoyu90 @krazyhaas
The text was updated successfully, but these errors were encountered: