Fix KV sharing fast prefill with cudagraph enabled (#28537)
Signed-off-by: Yong Hoon Shin <yhshin@meta.com> Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk>
This commit is contained in:
co-authored by
Cyrus Leung
parent
4516d44b7f
commit
9324e10275
@@ -1314,7 +1314,7 @@ class GPUModelRunner(
|
||||
:return: tuple[attn_metadata, spec_decode_common_attn_metadata]
|
||||
"""
|
||||
logits_indices_padded = None
|
||||
num_logits_indices = 0
|
||||
num_logits_indices = None
|
||||
if logits_indices is not None:
|
||||
num_logits_indices = logits_indices.size(0)
|
||||
if self.cache_config.kv_sharing_fast_prefill:
|
||||
|
||||
Reference in New Issue
Block a user