Skip to content

Commit

Permalink
[Bugfix] SymIntArrayRef expected to contain concrete integers (#10170)
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Nell <[email protected]>
  • Loading branch information
bnellnm authored Nov 8, 2024
1 parent 4f93dfe commit 10b67d8
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 10b67d8

Please sign in to comment.