-
Notifications
You must be signed in to change notification settings - Fork 29.6k
fix bug when using DP in trl, the batch size of input and output dism… #38938
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
base: main
Are you sure you want to change the base?
Conversation
Steps to reproduce the bug:
it will fail and return error:
It crashes as |
@zach-huggingface, @SunMarc and @qgallouedec, pls help review |
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 ! Can you add a test that cover this specific case ?
…atch Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
@SunMarc , Hi thx for advice. I think the existing one is OK for this case: |
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com>
@kaixuanliu , CI has failed cases, pls take a look |
@yao-matrix , Updated the code and the failed case passed. I also double checked the failed case on my own machine. @SunMarc Can you help review again? thx! |
@SunMarc Hi, this is a 2 weeks ago PR, can you help review it? Many thanks! |
No description provided.