-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[Dev] Remove calculation of padding token in moe routing loss #2121
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
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c49ffc1
GPG sign off
HaochenYuan 7a34303
Merge branch 'dev' into dev
BestJuly 5781e60
format fix
HaochenYuan 7e4a3f2
format fix
HaochenYuan f9d9c15
fix UT error
HaochenYuan 2903bf9
fix some UT error
HaochenYuan f1b4e84
fix linting
HaochenYuan b97e762
refactor
HaochenYuan 80a06de
refactor
HaochenYuan 7664c4d
add comments for padding mask
HaochenYuan 8acb7e9
refactor: simplify logic
HaochenYuan 6218741
refactor
HaochenYuan 9dd4373
refactor
HaochenYuan 2a9f3c5
refactor
HaochenYuan cc34bcd
refactor
HaochenYuan 886a613
fix bug
HaochenYuan 97de067
fix bug in seq_aux_loss
HaochenYuan fdb7311
fix bug in seq_aux_loss
HaochenYuan c302132
fix linting
HaochenYuan aa3ac99
add Copyright header
HaochenYuan 39e3db4
add Copyright header
HaochenYuan cebf69d
add padding_mask in fusedMLP
HaochenYuan b4884c7
Merge branch 'dev' into dev
HaochenYuan bc1a37c
slice padding_mask in SP
HaochenYuan bc78b60
fix linting
HaochenYuan a9f02b1
modify preprocess in 1f1b
HaochenYuan 9ae9fc9
modify preprocess in 1f1b&mtp
HaochenYuan c1195c3
fix linting
HaochenYuan f9a6b3e
Merge branch 'dev' into dev
HaochenYuan cae4095
add UT in 1f1b & SP-S
HaochenYuan 13676a9
fix linting
HaochenYuan 6cf4ce6
fix error
HaochenYuan 0c8159b
add copyright
HaochenYuan a0e1591
fix error
HaochenYuan 84344df
fix linting
HaochenYuan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 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 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 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 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 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 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.