[torch.compile] Inductor code caching fix (#10273)
Signed-off-by: luka <luka@neuralmagic.com> Signed-off-by: Luka Govedic <luka.govedic@gmail.com>
This commit is contained in:
@@ -1501,15 +1501,6 @@ class LazyDict(Mapping, Generic[T]):
|
||||
return len(self._factory)
|
||||
|
||||
|
||||
def combine_fx_passes(passes: List[Callable]) -> Callable:
|
||||
|
||||
def combined_fx(graph) -> None:
|
||||
for fx in passes:
|
||||
fx(graph)
|
||||
|
||||
return combined_fx
|
||||
|
||||
|
||||
def weak_ref_tensor(tensor: torch.Tensor) -> torch.Tensor:
|
||||
"""
|
||||
Create a weak reference to a tensor.
|
||||
|
||||
Reference in New Issue
Block a user