Skip to content

Commit a92b1bd

Browse files
committed
[chore] Update test_beam_search to correctly use padding, when necessary
Signed-off-by: Stefan Niebler <[email protected]>
1 parent 5d1bf42 commit a92b1bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/unittest/_torch/test_beam_search.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ def llm_cuda_graph(fixed_params, input_prompts):
6363
enable_trtllm_sampler=True,
6464
max_beam_width=fixed_params["max_beam_width"],
6565
disable_overlap_scheduler=False,
66-
cuda_graph_config=CudaGraphConfig(batch_sizes=[1, 2, 4, 8]),
66+
cuda_graph_config=CudaGraphConfig(batch_sizes=[1, 2, 4, 8],
67+
enable_padding=True),
6768
)
6869

6970

0 commit comments

Comments
 (0)