Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
a1887f2c
Unverified
Commit
a1887f2c
authored
Dec 06, 2024
by
youkaichao
Committed by
GitHub
Dec 06, 2024
Browse files
[torch.compile] fix deprecated code (#10948)
Signed-off-by:
youkaichao
<
youkaichao@gmail.com
>
parent
222f5b08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/compilation/backends.py
vllm/compilation/backends.py
+1
-1
No files found.
vllm/compilation/backends.py
View file @
a1887f2c
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment