Unverified Commit 10b67d86 authored by bnellnm's avatar bnellnm Committed by GitHub
Browse files

[Bugfix] SymIntArrayRef expected to contain concrete integers (#10170)


Signed-off-by: default avatarBill Nell <bill@neuralmagic.com>
parent 4f93dfe9
...@@ -329,7 +329,8 @@ class PiecewiseCompileInterpreter(torch.fx.Interpreter): ...@@ -329,7 +329,8 @@ class PiecewiseCompileInterpreter(torch.fx.Interpreter):
self.fake_mode.from_tensor(t) if isinstance(t, torch.Tensor) else t self.fake_mode.from_tensor(t) if isinstance(t, torch.Tensor) else t
for t in args for t in args
] ]
return super().run(*fake_args) with self.fake_mode:
return super().run(*fake_args)
def call_module(self, target: torch.fx.node.Target, def call_module(self, target: torch.fx.node.Target,
args: Tuple[torch.fx.node.Argument, args: Tuple[torch.fx.node.Argument,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment