-
Notifications
You must be signed in to change notification settings - Fork 25
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
Task.run
, wait for inputs
#159
Comments
Why do we actually have only a warning here for |
I don't see any reason and would also just fail.
yes, wait until a threshold is reached and then fail would be my suggestion. |
The warning is there is case someone only passes the stem to some files. e.g.: You could surely argue that this is bad practice and shouldn't be allowed, but this is the historical reason why it's there. Making all inputs required would allow to add this simple check/wait period as you suggested. |
I'm not sure but I thought this also had other problems (or would not work), so people always used an existing file, e.g. the So, now the question: Should we do this potential breaking change, to require that all inputs must be available? Or only via option? What should be the default for this option? Or wait in any case if not available for some time, but then proceed with warning only? |
I have some quite old configs where it's done without the suffix (i.e. I always get this warning and ignore it).
In general, I agree that sisyphus should fail here per default. But, I'd prefer to make this a config option to get back the old behaviour. |
I'm in favor of waiting until a threshold is reached and then fail. Adding an option to allow unavailable inputs seems alright if it's not too much effort, but I don't think I'd currently need it. |
Same as @vieting |
New options: WAIT_PERIOD_FOR_INPUTS_AVAILABLE TASK_INPUTS_MUST_BE_AVAILABLE Fix #159
New options: WAIT_PERIOD_FOR_INPUTS_AVAILABLE TASK_INPUTS_MUST_BE_AVAILABLE Fix #159
Some of my recog jobs fail because they don’t find the checkpoint:
then it ends up in this state:
My initial suggestion was to add some wait time in the
ReturnnForwardJobV2
(see rwth-i6/i6_core#464), but @michelwi suggested to implement this more generic, so this issue here is to discuss about this.Maybe we should change actually this code to not just print this warning ("Input path does not exist") but instead to wait in this case?
I really don't like the
WAIT_PERIOD_JOB_FS_SYNC
. I want to get rid of any arbitrary sleeps before doing anything. See also #146. Ideally, if sth is ready, it should directly execute the next task without any delay.Then, the task itself can check if inputs are available, and if not, wait a bit. Thus, in the ideal case, it would directly run, and only if not available, it would wait a bit.
Originally posted by @albertz in rwth-i6/i6_core#464 (comment), after discussion with @michelwi
The text was updated successfully, but these errors were encountered: