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

Add a hash of the config file to the run directory name #104

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

KerekesDavid
Copy link
Collaborator

@KerekesDavid KerekesDavid commented Oct 21, 2024

Add a hash of the config file to the run directory name to avoid directory collisions with runs created at the same time.

(Yes, I lost 3 runs to this. It runs, just overwrites the files :D)

It's not perfect, if you start multiple runs with the same config (I guess it could happen if you use null seed to get random experiments) it will still fail. But since the different ranks rely on the generated folder name to log to the same directory, I'm not sure how to fix that case as well.

@KerekesDavid KerekesDavid merged commit 9b14172 into main Oct 21, 2024
1 check passed
@KerekesDavid KerekesDavid deleted the hashed-runs branch October 21, 2024 20:44
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

Successfully merging this pull request may close these issues.

2 participants