Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DCP] Improve with_temp_dir robustness (pytorch#111106)
Calling os.sync() to ensure the tempfile can be seens across ranks. Differential Revision: [D50209697](https://our.internmc.facebook.com/intern/diff/D50209697/) Pull Request resolved: pytorch#111106 Approved by: https://github.com/Skylion007, https://github.com/wz337
- Loading branch information