-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: reduce the binary size of batch decode kernels (#343)
This PR refactors the batch decode related kernels, and make the following breaking changes: 1. remove `batch_decode_with_padded_kv_cache` operator, we encourage user to use `BatchDecodeWithPagedKVCacheWrapper`. 2. Delete redundant DTypeQ * DTypeKV combinations, now we only support the following cases: 1. DTypeQ == DTypeKV 2. DTypeQ is a float16 and DTypeKV is a float8 The output data type follows the query data type.
- Loading branch information
Showing
29 changed files
with
359 additions
and
1,225 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
Oops, something went wrong.