mirror of https://github.com/vllm-project/vllm
[Bugfix] SymIntArrayRef expected to contain concrete integers (#10170)
Signed-off-by: Bill Nell <bill@neuralmagic.com>
This commit is contained in:
parent
4f93dfe952
commit
10b67d865d
|
@ -329,7 +329,8 @@ class PiecewiseCompileInterpreter(torch.fx.Interpreter):
|
|||
self.fake_mode.from_tensor(t) if isinstance(t, torch.Tensor) else t
|
||||
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,
|
||||
args: Tuple[torch.fx.node.Argument,
|
||||
|
|
Loading…
Reference in New Issue