-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
PPO config __init__ is bloated #241
Conversation
… init method and let the dataclass automatically assign the other member variables.
The documentation is not available anymore as the PR was closed or merged. |
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.
Awesome work, that looks great to me. Thanks a mile for fixing
This is great, that your for addressing this. |
Hi @GauravVirmani , make style && make quality |
Hi @GauravVirmani >>> import black
>>> black.__version__
'23.1.0' Can you please double check? |
Hey @younesbelkada My version is same: Is there a way to run these checks in my local machine? Let me try running the styling checks again. |
Hmm in my experience you just need to run |
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.
Thanks a lot for all your work on this!
I have added changes to incorporate the 2 new arguments( @edbeeching @lvwerra It would be great if you can review and get this merged. |
Thanks @GauravVirmani for fixing the merged PR! |
What does this PR do?
Fixes: #233
Moving
total_ppo_epochs
,forward_batch_size
andlog_with
to post init method and let the dataclass automatically assign the other member variables.cc @edbeeching @lvwerra