Skip to content

fix: use nanosecond experiment timestamps - #571

Merged
ko3n1g merged 1 commit into
mainfrom
afilby/ns-timestamp
Jul 27, 2026
Merged

fix: use nanosecond experiment timestamps#571
ko3n1g merged 1 commit into
mainfrom
afilby/ns-timestamp

Conversation

@sudostock

Copy link
Copy Markdown
Collaborator

Reduce experiment directory collisions by using time_ns for generated experiment IDs.

We've run into a race condition a few times with DGXC benchmarks where users will try and launch multiple instance of the same experiment in parallel to overcome the slow nemo-run submit times. As the current timestamp is second based, and the folder is not created right after it's checked it's possible for:

Two experiments to share the exact same folder
The first experiment to launch and the second to get a folder exist error.
This fix doesn't address the underlaying race condition, but should reduce the frequency and is also a necessary step if we can get nemo-run submissions to be sub-second.

Supersedes: #563

Reduce experiment directory collisions by using time_ns for generated and reset experiment IDs. Add focused coverage for both paths.

Signed-off-by: Alex Filby <[email protected]>
@ko3n1g
ko3n1g enabled auto-merge (squash) July 27, 2026 19:34
@ko3n1g
ko3n1g merged commit 173d3f0 into main Jul 27, 2026
51 of 53 checks passed
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