-
Notifications
You must be signed in to change notification settings - Fork 530
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 <mihir.v.patel7@gmail.com> * Update llmfoundry/models/layers/blocks.py Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com> * 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 <43149077+dakinggg@users.noreply.github.com> * Changing gating in tests to check for flash attn --------- Co-authored-by: Mihir Patel <mihir.v.patel7@gmail.com> Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>
- 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