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

Make use of THOR's checkpointing to continue tasks #41

Open
moeyensj opened this issue Sep 25, 2022 · 0 comments
Open

Make use of THOR's checkpointing to continue tasks #41

moeyensj opened this issue Sep 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@moeyensj
Copy link
Member

THOR is checkpointed so that it can continue a run if that run is interrupted. We should support this behavior in thorctl so that we can resume runs if something goes wrong. I think the easiest solution would be to check if the task's output directory already exists in the bucket and, if it does, download the outputs stored in the bucket to the temp directory where THOR will run on the worker.

The function call to download existing outputs could be added here:

download_task_inputs_to_dir(bucket, task, input_dir)

@moeyensj moeyensj added the enhancement New feature or request label Sep 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant