[Bugfix][MRV2] Capture DCP FULL cudagraphs with KV context (#61496)

Signed-off-by: Ayushman Singh <40520701+ayush1399@users.noreply.github.com>
This commit is contained in:
Ayushman Singh
2026-10-14 19:20:48 +00:00
committed by GitHub
parent 222e00fc44
commit 9b5c6707a3
3 changed files with 94 additions and 5 deletions
+2 -1
View File
@@ -228,7 +228,8 @@ def set_dummy_context(
max_model_len: int,
input_block_tables: Sequence[torch.Tensor] | None = None,
) -> None:
"""Give each dummy request context_len of context, used when profiling step cost."""
"""Give each dummy request context_len of context, for profiling step cost
and for DCP FULL cudagraph capture."""
if input_block_tables is None:
input_block_tables = block_tables.input_block_tables
if not input_block_tables: