-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable flag to not pass PAD tokens in ffwd (#775)
* Changing how attention_mask is being passed around * adding in option to toggle flags for padding * moving to flash attn import * removing unused import * Removing excess stuff from pyproject * refactor * Update llmfoundry/models/layers/blocks.py Co-authored-by: Mihir Patel <[email protected]> * Update llmfoundry/models/layers/blocks.py Co-authored-by: Mihir Patel <[email protected]> * Changing some naming conventions, moving where tests are done, adding numerics test * Updating import * trying to fix tests * trying to fix tests * updating tests * updating tests * Update llmfoundry/models/mpt/configuration_mpt.py Co-authored-by: Daniel King <[email protected]> * Changing gating in tests to check for flash attn --------- Co-authored-by: Mihir Patel <[email protected]> Co-authored-by: Daniel King <[email protected]>
- Loading branch information
1 parent
34ec2f7
commit 410d5c7
Showing
4 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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 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 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 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