From 57c2f724c1215a2c27382248e017d74f3ec97bb1 Mon Sep 17 00:00:00 2001 From: haosdent Date: Fri, 8 May 2026 10:42:00 +0800 Subject: [PATCH] [CI][Bugfix] Fix CI failures for "PyTorch Compilation Unit Tests" (#41940) Signed-off-by: haosdent --- vllm/compilation/compiler_interface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vllm/compilation/compiler_interface.py b/vllm/compilation/compiler_interface.py index 933554faa2..2348ff3191 100644 --- a/vllm/compilation/compiler_interface.py +++ b/vllm/compilation/compiler_interface.py @@ -141,6 +141,10 @@ class AlwaysHitShapeEnv: def __init__(self) -> None: self.guards: list[Any] = [] + # Read by torch._inductor.codecache.FxGraphHashDetails (torch>=2.11) + # to incorporate user-provided dynamic-shape hint overrides into the + # cache key. We never override hints, so an empty dict is correct. + self.var_to_hint_override: dict[Any, int] = {} def evaluate_guards_expression(self, *args: Any, **kwargs: Any) -> Literal[True]: return True