Skip to content

Broadcast autogenerated timestamp output dir name#721

Merged
dkazanc merged 2 commits into
mainfrom
broadcast-output-dir
May 29, 2026
Merged

Broadcast autogenerated timestamp output dir name#721
dkazanc merged 2 commits into
mainfrom
broadcast-output-dir

Conversation

@yousefmoazzam
Copy link
Copy Markdown
Collaborator

@yousefmoazzam yousefmoazzam commented May 20, 2026

This is to guard against the possibility that multiple processes have a different timestamp output dir name, due to one or more of the processes being slower than rank 0 and reaching the timestamp-generation line later than rank 0.

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have made corresponding changes to the documentation
  • I have added the user-release-note label in order to include this PR in the "Notable
    Changes for Users" section in release notes

When the `--output-folder-name` flag is used there's no possibility of
the different processes having a different output folder name, this
value is only able to be different for different processes when
generating a timestamp. Hence, the broadcast is only done for the case
of an automatically generated timestamp output folder name.
@yousefmoazzam yousefmoazzam requested a review from dkazanc May 20, 2026 13:44
Copy link
Copy Markdown
Collaborator

@dkazanc dkazanc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @yousefmoazzam , a nice and useful change. It certainly makes sense to broadcast the timestamp.

@dkazanc dkazanc merged commit 6d64df2 into main May 29, 2026
3 checks passed
@dkazanc dkazanc deleted the broadcast-output-dir branch May 29, 2026 09:39
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