[CI] Fix and wire encoder/manager cudagraph unit tests (#49339)

Signed-off-by: Nick Hill <nickhill123@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nick Hill
2026-07-21 20:41:16 +01:00
committed by GitHub
co-authored by Claude Opus 4.8
parent fca252d59e
commit 1dca300653
3 changed files with 9 additions and 0 deletions
@@ -108,6 +108,11 @@ def _make_manager_with_budgets(budgets: list[int]) -> EncoderCudaGraphManager:
mgr.token_budgets = sorted(budgets)
mgr.max_batch_size = 16
mgr.use_dp = False
mgr.config = EncoderCudaGraphConfig(
modalities=["image"],
buffer_keys=[],
out_hidden_size=32,
)
mgr.budget_graphs = {"default": {}}
mgr.graph_pool = None
mgr.graph_hits = 0