[V1] V1 FlashInfer Attention (#16684)

Signed-off-by: mgoin <mgoin64@gmail.com>
Co-authored-by: Aurick Qiao <qiao@aurick.net>
This commit is contained in:
Michael Goin
2025-04-22 00:38:41 +00:00
committed by GitHub
co-authored by Aurick Qiao
parent 210207525e
commit 986537f1c3
7 changed files with 668 additions and 13 deletions
+1 -1
View File
@@ -696,7 +696,7 @@ class GPUModelRunner(LoRAModelRunnerMixin):
# common_prefix_len should be a multiple of the block size.
common_prefix_len = (common_prefix_len // self.block_size *
self.block_size)
use_cascade = self.attn_backend.use_cascade_attention(
use_cascade = self.attn_metadata_builder.use_cascade_attention(
common_prefix_len=common_prefix_len,
query_lens=num_scheduled_tokens,
num_query_heads=self.num_query_heads,