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

Implement experiment lock files #40

Open
janfrancu opened this issue Oct 5, 2020 · 1 comment
Open

Implement experiment lock files #40

janfrancu opened this issue Oct 5, 2020 · 1 comment

Comments

@janfrancu
Copy link
Contributor

In order to allow to run more experiments of the same model safely in parallel, we need to implement lockfiles. These files would have all the necessary fields in order for check_params to work and block running more experiments with the same parameters concurrently. One consideration to keep in mind, the start of the jobs in the array should be somewhat randomized at the beginning as there is potential for collision, however I have yet to found a simple argument for this in the SLURM docummention.

@janfrancu
Copy link
Contributor Author

The lockfiles can either be deleted on failure or kept. Both cases are easily supported in evaluation, which throws out samples without scores. The choice is probably method dependent as some of them are more deterministic than others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant