Skip to content

Commit

Permalink
Added kwarg support for dynamo.compile
Browse files Browse the repository at this point in the history
  • Loading branch information
cehongwang committed Jul 9, 2024
1 parent 131c158 commit fb899ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/torch_tensorrt/dynamo/_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ def compile(
else:
make_refitable = kwargs["refit"]

if kwarg_inputs is None:
kwarg_inputs = {}
engine_capability = EngineCapability._from(engine_capability)

if torch_executed_modules is not None and torch_executed_modules:
Expand Down

0 comments on commit fb899ac

Please sign in to comment.