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

Avoid race condition in creating checkpoint directories #530

Merged
merged 2 commits into from
Nov 21, 2019

Commits on Nov 20, 2019

  1. Avoid race condition in creating checkpoint directories

    In multi-GPU training, several processes run the code that creates checkpoint dirs. This fix avoids a probably rare situation (but it happened to me) where another process created a dir between the `exists` check and the `makedirs` call.
    alumae committed Nov 20, 2019
    Configuration menu
    Copy the full SHA
    a8132ab View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. Configuration menu
    Copy the full SHA
    d18aa2f View commit details
    Browse the repository at this point in the history