Skip to content

Commit

Permalink
[Bugfix] SymIntArrayRef expected to contain concrete integers (vllm-p…
Browse files Browse the repository at this point in the history
…roject#10170)

Signed-off-by: Bill Nell <[email protected]>
Signed-off-by: Maxime Fournioux <[email protected]>
  • Loading branch information
bnellnm authored and mfournioux committed Nov 20, 2024
1 parent 385ff71 commit 8013cb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vllm/compilation/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ def run(self, *args):
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,
Expand Down

0 comments on commit 8013cb2

Please sign in to comment.