forked from vllm-project/vllm
-
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.
[Core] Refactor _prepare_model_input_tensors - take 2 (vllm-project#6164
- Loading branch information
Showing
12 changed files
with
1,050 additions
and
470 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
from vllm.attention.backends.abstract import (AttentionBackend, | ||
AttentionMetadata) | ||
AttentionMetadata, | ||
AttentionMetadataBuilder) | ||
from vllm.attention.layer import Attention | ||
from vllm.attention.selector import get_attn_backend | ||
|
||
__all__ = [ | ||
"Attention", | ||
"AttentionBackend", | ||
"AttentionMetadata", | ||
"AttentionMetadataBuilder", | ||
"Attention", | ||
"get_attn_backend", | ||
] |
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.