Skip to content
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

Pipeline with conditional algorithms (if statements) #1173

Closed
mattanf2 opened this issue Mar 3, 2021 · 1 comment
Closed

Pipeline with conditional algorithms (if statements) #1173

mattanf2 opened this issue Mar 3, 2021 · 1 comment

Comments

@mattanf2
Copy link

mattanf2 commented Mar 3, 2021

I have cases where I have pipelines with algorithms that may or may not need to run depending on the input of another algorithm.
The way that I currently solve this is by defining those algorithms to run in a batch then either supplying an input array of 1 or an input array of 0. This is problematic for 2 reasons:

  1. Its ocward to write
  2. In a lot of cases I don't need to run the algorithm in the "if statement" but hkube loads to as a pod anyway.

A more straight forward notation of "run algo if input exists" would be better, It would also help If I could state whether the algorithm would run most times to tell hkube whether it should preload the algorithm or not.

@maty21
Copy link
Member

maty21 commented Dec 13, 2021

after thinking we decided that it's not something that we want to add to the current roadmap

@maty21 maty21 closed this as completed Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants