Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

save/load model only for rank==0 #212

Closed
wants to merge 1 commit into from

Conversation

borguz
Copy link
Contributor

@borguz borguz commented Jan 16, 2019

Summary: Save/load can break for distributed training with multiple processes writing to the same file. Fix by only doing it for rank 0.

Differential Revision: D13704156

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 16, 2019
Summary:
Pull Request resolved: facebookresearch#212

Save/load can break for distributed training with multiple processes writing to the same file.  Fix by only doing it for rank 0.

Differential Revision: D13704156

fbshipit-source-id: 9a7b064d53e2d2de3abb7e1e4f7844f8b1ac967d
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants