Skip to content

Commit d3c8429

Browse files
authored
[CI] Add comment about the single cudagraph capture size that is used (#26252)
1 parent f509a20 commit d3c8429

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,10 @@ def __init__(
740740
)
741741

742742
if not kwargs.get("compilation_config", None):
743+
# Note(@tdoublep): This is set to 4 because some tests (e.g., hybrid
744+
# model tests) may set max_num_seqs=4. If min cudagraph_capture_size is
745+
# set to larger than max_num_seqs, then it will lead to *no* graphs
746+
# being captured which can trigger edge cases that we don't handle yet.
743747
kwargs["compilation_config"] = {"cudagraph_capture_sizes": [4]}
744748

745749
with init_ctx:

0 commit comments

Comments
 (0)