-
Notifications
You must be signed in to change notification settings - Fork 416
feature(pu): adapt to unizero-multitask ddp, and adapt ppo to support jericho config #860
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
Conversation
ding/worker/learner/learner_hook.py
Outdated
| else: | ||
| self._freq = ext_args.freq | ||
| self._freq = ext_args.get('freq', 1) | ||
| self._only_monitor_rank0 = ext_args.get('only_monitor_rank0', True) |
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.
不过有个问题是 LogShowHook 在/ding/worker/learner/learner_hook.py初始化时,好像都是用的默认参数,写死在hook_mapping这里了,unizero_multitask 使用时还是要改这个文件吧
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.
用engine.only_monitor_rank0,而不是自己传进来的
Description
adapt learner to unizero-multitask ddp, and adapt vac to support jericho config
Related Issue
TODO
Check List