Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronization Error with Epoch Time Logging #312

Closed
wiederm opened this issue Nov 7, 2024 · 0 comments · Fixed by #313
Closed

Synchronization Error with Epoch Time Logging #312

wiederm opened this issue Nov 7, 2024 · 0 comments · Fixed by #313
Assignees

Comments

@wiederm
Copy link
Member

wiederm commented Nov 7, 2024

Issue: Synchronization Error with Epoch Time Logging

In PR #308 , we introduced logging of the epoch time. The intention was to log this information only on the main process, so we implemented a check to verify if the process has rank 0 before executing the logging.

However, this implementation appears to cause a synchronization error, resulting in the training process getting locked. Consequently, training halts and does not continue after the first epoch.

Steps to Reproduce:

  1. Run training with multiple processes.
  2. Observe that training stops after the first epoch.

Expected Behavior:

  • Training should continue seamlessly across epochs.

Actual Behavior:

  • Training locks after the first epoch due to a synchronization error likely related to the rank-based logging check.
@wiederm wiederm self-assigned this Nov 7, 2024
@wiederm wiederm linked a pull request Nov 7, 2024 that will close this issue
6 tasks
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 a pull request may close this issue.

1 participant