Skip to content

Commit

Permalink
[torch.compile] fix deprecated code (vllm-project#10948)
Browse files Browse the repository at this point in the history
Signed-off-by: youkaichao <[email protected]>
  • Loading branch information
youkaichao authored Dec 6, 2024
1 parent 222f5b0 commit a1887f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/compilation/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def wrap_inductor(graph,
compilation_counter.num_inductor_compilations += 1

from torch._inductor import config
current_config = config.shallow_copy_dict()
current_config = config.get_config_copy()
from torch._inductor.compile_fx import compile_fx

if additional_inductor_config is not None:
Expand Down

0 comments on commit a1887f2

Please sign in to comment.