[MRV2] Always build attn metadata at capture time (#49364)

Signed-off-by: Woosuk Kwon <woosuk@inferact.ai>
This commit is contained in:
Woosuk Kwon
2026-07-21 19:27:16 -07:00
committed by GitHub
parent 060b5f61dc
commit 6049424b7e
2 changed files with 35 additions and 21 deletions
@@ -56,10 +56,7 @@ class SpeculatorCudaGraphManager(CudaGraphManager):
block_tables,
attn_groups,
kv_cache_config,
skip_attn=(
desc.cg_mode == CUDAGraphMode.PIECEWISE
and not self.use_breakable_cg
),
full_cudagraph=desc.cg_mode == CUDAGraphMode.FULL,
)
return lambda cg_mode: forward_fn(