-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[AutoParallel] Add test for PIR refined recompute #9679
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
[AutoParallel] Add test for PIR refined recompute #9679
Conversation
|
Thanks for your contribution! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #9679 +/- ##
===========================================
+ Coverage 52.46% 52.49% +0.03%
===========================================
Files 727 723 -4
Lines 115028 114327 -701
===========================================
- Hits 60353 60020 -333
+ Misses 54675 54307 -368 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
72ea11c to
8b31f4b
Compare
3226de9 to
04cf542
Compare
paddlenlp/trainer/training_args.py
Outdated
| "If a parameter is omitted, it defaults to `xxx:0`." | ||
| }, | ||
| ) | ||
| refined_ops_patterns: str = field(default=None, metadata={"help": "The pattern of refined recompute."}) |
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.
如果这个暂时不能合并的话,要不先放到 paddlenlp/trainer/auto_training_args.py 中?
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.
done
441bf79 to
57da8d7
Compare
ZHUI
left a comment
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.
LGTM
PR types
Others
PR changes
Others
Description
Judge
refined_ops_patternstraining args.Add test for PIR refined recompute.
在
yaml文件中的调用举例:在
python命令行参数中的调用举例python -u -m paddle.distributed.launch \ --gpus "0,1,2,3" \ --log_dir $case_log_dir \ run_pretrain_auto.py \ --to_static \ --enable_auto_parallel 1 \ --recompute 1 \ --refined_ops_patterns '[{"main_ops":["matmul"],"num":-1,"pre_ops":["softmax"],"suf_ops":[]}]' \ ...