mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 06:45:01 +08:00
[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
|
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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user