-
Notifications
You must be signed in to change notification settings - Fork 3k
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 async save for optimizer #8557
Conversation
Thanks for your contribution! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8557 +/- ##
===========================================
- Coverage 53.87% 53.83% -0.04%
===========================================
Files 620 620
Lines 97075 97171 +96
===========================================
+ Hits 52299 52315 +16
- Misses 44776 44856 +80 ☔ View full report in Codecov by Sentry. |
paddlenlp/trainer/trainer.py
Outdated
os.makedirs(output_dir, exist_ok=True) | ||
logger.info("Saving optimizer files.") | ||
if self.args.use_expert_parallel: | ||
self._save_ckpt_func( |
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.
这样是不是有问题,冗余参数,一份都没有了?
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.
已修复该问题,thx
PR types
New features
PR changes
Others
Description
Add async save for optimizer