Skip to content

Commit a332b84

Browse files
authored
[CI] Only capture a single CUDA graph size in CI by default (#25951)
Signed-off-by: Harry Mellor <[email protected]>
1 parent 1405f0c commit a332b84

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,9 @@ def __init__(
731731
init_ctx = (nullcontext() if default_torch_num_threads is None else
732732
set_default_torch_num_threads(default_torch_num_threads))
733733

734+
if not kwargs.get("compilation_config", None):
735+
kwargs["compilation_config"] = {"cudagraph_capture_sizes": [8]}
736+
734737
with init_ctx:
735738
self.llm = LLM(
736739
model=model_name,

0 commit comments

Comments
 (0)