You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We see OSError when saving generated images. It is because the execution
of following two lines (from `sampling.py::save_image()`) are
interleaved between ranks:
```
if not os.path.exists(output_dir):
os.makedirs(output_dir)
```
Changed to use os.makedirs(output_dir, exist_ok=True) instead of
os.path.exists check
Thanks @tianyu-l for identifying this issue
0 commit comments