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

Signed-off-by: Bill Nell <bill@neuralmagic.com>
This commit is contained in:
bnellnm 2024-11-08 17:44:18 -05:00 committed by GitHub
parent 4f93dfe952
commit 10b67d865d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -329,6 +329,7 @@ class PiecewiseCompileInterpreter(torch.fx.Interpreter):
self.fake_mode.from_tensor(t) if isinstance(t, torch.Tensor) else t
for t in args
]
with self.fake_mode:
return super().run(*fake_args)
def call_module(self, target: torch.fx.node.Target,