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

Add warmup logic when calculating eta #923

Merged
merged 2 commits into from
Nov 3, 2023

Conversation

nathanielsimard
Copy link
Member

Fix #912

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Attention: 56 lines in your changes are missing coverage. Please review.

Comparison is base (64e58b4) 86.49% compared to head (56f48c9) 86.41%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #923      +/-   ##
==========================================
- Coverage   86.49%   86.41%   -0.09%     
==========================================
  Files         468      468              
  Lines       44046    44115      +69     
==========================================
+ Hits        38098    38122      +24     
- Misses       5948     5993      +45     
Files Coverage Δ
burn-train/src/renderer/tui/progress.rs 43.68% <33.33%> (-5.08%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@louisfd louisfd left a comment

Choose a reason for hiding this comment

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

The estimation has a hard time stabilizing in the beginning (on ag-news-train I had 20 to 40 iterations where the estimation was changing all the time).
I don't think it's a matter of how much time you wait (I tried at 10 secs then deactivated this condition to wait 30 secs, only to get similar results), but rather the fact that when we start showing the time the iterations window on which it is based is very small because the warmup items are ignored. However I think the last part of the warmup could be used to stabilize the first iterations.

Also, not directly related to your PR, but there is no singular in the estimate (it writes "1 hours")

@nathanielsimard
Copy link
Member Author

@louisfd Merging the current PR, since adding a minimum and maximum data points before showing the estimate is out of scope for this PR.

@nathanielsimard nathanielsimard merged commit dddc138 into main Nov 3, 2023
8 of 9 checks passed
@nathanielsimard nathanielsimard deleted the feat/progress-eta-warmup branch November 3, 2023 12:57
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.

Autotune causes inaccurate estimated training time
2 participants