Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This touches _gather_batching_rule because slicing is implemented as a gather, but we only test the case exercised by the slice that occurs in our test transformer model, namely the unstack operation q, k, v = qkv (which turns into three slices on an non-batched and non-ragged axis). Co-authored-by: Matthew Johnson <mattjj@google.com>
- Loading branch information
Showing
3 changed files
with
49 additions
and
18 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