mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-28 00:05:58 +08:00
[torch.compile] fix deprecated code (#10948)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
parent
222f5b082a
commit
a1887f2c96
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user