Skip to content

Commit 6c5f335

Browse files
bnellnmJC1DA
authored andcommitted
[Bugfix] SymIntArrayRef expected to contain concrete integers (vllm-project#10170)
Signed-off-by: Bill Nell <[email protected]> Signed-off-by: Loc Huynh <[email protected]>
1 parent cec4efa commit 6c5f335

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vllm/compilation/backends.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ def run(self, *args):
329329
self.fake_mode.from_tensor(t) if isinstance(t, torch.Tensor) else t
330330
for t in args
331331
]
332-
return super().run(*fake_args)
332+
with self.fake_mode:
333+
return super().run(*fake_args)
333334

334335
def call_module(self, target: torch.fx.node.Target,
335336
args: Tuple[torch.fx.node.Argument,

0 commit comments

Comments
 (0)