-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init kv_cache pr * pass past_key_values thru model fwd * add qpadmask * enable key_padding_mask for past_key_value * use valid pos emb if using learned pos emb * lint * only compute past_position when needed * nit * Update examples/llm/src/models/layers/gpt_blocks.py Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com> * fix suggested edit * dk pr cmt --------- Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>
- Loading branch information
Showing
5 changed files
with
130 additions
and
49 deletions.
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
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