Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions vllm/compilation/compiler_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading