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
47fcb8ca
Unverified
Commit
47fcb8ca
authored
Apr 20, 2026
by
Frederik Gossen
Committed by
GitHub
Apr 20, 2026
Browse files
[Core] Pass donate_graph_module=True to standalone_compile (#39733)
Signed-off-by:
Frederik Gossen
<
frgossen@meta.com
>
parent
191e3fda
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
vllm/compilation/compiler_interface.py
vllm/compilation/compiler_interface.py
+3
-0
No files found.
vllm/compilation/compiler_interface.py
View file @
47fcb8ca
...
@@ -295,6 +295,9 @@ class InductorStandaloneAdaptor(CompilerInterface):
...
@@ -295,6 +295,9 @@ class InductorStandaloneAdaptor(CompilerInterface):
},
},
}
}
if
is_torch_equal_or_newer
(
"2.13.0.dev"
):
compile_kwargs
[
"donate_graph_module"
]
=
True
# type: ignore[assignment]
use_aot
:
bool
=
supports_aot
and
envs
.
VLLM_USE_MEGA_AOT_ARTIFACT
use_aot
:
bool
=
supports_aot
and
envs
.
VLLM_USE_MEGA_AOT_ARTIFACT
# only add 'aot' parameter if both supported and enabled...
# only add 'aot' parameter if both supported and enabled...
# this will set bundled_autograd_cache
# this will set bundled_autograd_cache
...
...
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