We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b052376 commit 02ecf05Copy full SHA for 02ecf05
py/torch_tensorrt/dynamo/utils.py
@@ -164,6 +164,14 @@ def parse_dynamo_kwargs(kwargs: Any) -> CompilationSettings:
164
# Parse input runtime specification
165
settings.use_python_runtime = use_python_runtime_parser(settings.use_python_runtime)
166
167
+ # Ignore and warn about require_full_compilation flag
168
+ if settings.require_full_compilation:
169
+ logger.warning(
170
+ "Detected require_full_compilation=True for a torch.compile run. "
171
+ "This option has no effect in torch.compile."
172
+ )
173
+ settings.require_full_compilation = False
174
+
175
logger.debug(f"Compiling with Settings:\n{settings}")
176
177
return settings
0 commit comments