forked from facebookresearch/xformers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add varying sequence length support to Split KV MHA (fairinternal/xfo…
…rmers#736) * [WIP] Add varying sequence length support to split-k attention * Add more tests and benchmarks * Remove max_seq_len hint Might not be CUDAGraphs-friendly and only really helps for very small contexts * nit * Add bound-check to query and output Was missing before and would get OOB errors in prod * Fix lint * Reviewer comments * Fix lint __original_commit__ = fairinternal/xformers@f47fa92
- Loading branch information
Showing
2 changed files
with
24 additions
and
11 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