Skip to content

Commit 5cdd664

Browse files
[BugFix] Fix assert in build_for_cudagraph_capture (#29893)
Signed-off-by: Lucas Wilkinson <lwilkins@redhat.com>
1 parent 5f67361 commit 5cdd664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/v1/worker/gpu_model_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4000,7 +4000,7 @@ def _dummy_run(
40004000
num_reqs=num_reqs_padded,
40014001
max_query_len=max_query_len,
40024002
ubatch_slices=ubatch_slices,
4003-
for_cudagraph_capture=True,
4003+
for_cudagraph_capture=is_graph_capturing,
40044004
)
40054005

40064006
with self.maybe_dummy_run_with_lora(

0 commit comments

Comments
 (0)