forked from allenai/open-instruct
-
Notifications
You must be signed in to change notification settings - Fork 3
[7/9] no grad acc averaging for sum losses #21
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Jun 27, 2025
Merged
Merged
Closed
99016c3 to
bfd3b00
Compare
02cef67 to
a873266
Compare
bfd3b00 to
342d32a
Compare
a873266 to
dfb0866
Compare
342d32a to
0ea1143
Compare
dfb0866 to
bb745f7
Compare
0ea1143 to
b866596
Compare
bb745f7 to
7e3a6cd
Compare
b866596 to
2d8996b
Compare
7e3a6cd to
95f1240
Compare
2d8996b to
053c928
Compare
95f1240 to
7985fce
Compare
053c928 to
ab7a54b
Compare
7985fce to
8d5c39b
Compare
prev-branch: padding-free-squashing-3
prev-branch: padding-free-squashing-4
prev-branch: padding-free-squashing-5
ab7a54b to
f5e19fa
Compare
8d5c39b to
a4d460b
Compare
prev-branch: padding-free-squashing-6
a4d460b to
96c734b
Compare
f5e19fa to
7a3d3dd
Compare
Owner
Author
|
I'm a little skeptical about this commit. It's needed for strict correctness, but it would change the dynamics of upstream's training. Not sure what is best. |
Collaborator
|
ok lets hold off on this first |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds proper scaling for the backward pass when using gradient aggregation and a "sum" loss.