-
Notifications
You must be signed in to change notification settings - Fork 520
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
feat(pt): support disp_training and time_training in pt #3775
Conversation
WalkthroughWalkthroughThe updates focus on enhancing the training functionality by introducing new parameters to control display and timing aspects during training sessions. These changes allow for more detailed monitoring and performance analysis, including the ability to log and calculate average training times per batch, thereby improving the utility and diagnostic capabilities of the training process. Changes
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional comments not posted (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Out of diff range and nitpick comments (1)
deepmd/pt/train/training.py (1)
142-143
: The model resuming and finetuning logic is robust, handling various scenarios and potential issues with missing keys. Consider adding more detailed comments to explain the conditions and operations for future maintainability.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## devel #3775 +/- ##
=======================================
Coverage 82.49% 82.49%
=======================================
Files 515 515
Lines 48633 48642 +9
Branches 2979 2979
=======================================
+ Hits 40118 40126 +8
- Misses 7604 7605 +1
Partials 911 911 ☔ View full report in Codecov by Sentry. |
…#3775) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced options to display training progress and log training times, enhancing user visibility and tracking capabilities during model training sessions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit