Skip to content

Commit

Permalink
Add missing aot_autograd_arg_pos_to_source
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
voznesenskym committed Mar 23, 2023
1 parent 12da0c7 commit 4f198e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torch/_functorch/aot_autograd.py
Original file line number Diff line number Diff line change
Expand Up @@ -2491,6 +2491,7 @@ def call_compiled_backward():
aot_config.keep_inference_input_mutations,
aot_config.dynamic_shapes,
inference_compiler=None,
aot_autograd_arg_pos_to_source=None,
)
)
else:
Expand Down Expand Up @@ -2805,6 +2806,7 @@ def aot_function(
aot_id=next(AOT_COUNTER),
keep_inference_input_mutations=keep_inference_input_mutations,
dynamic_shapes=dynamic,
aot_autograd_arg_pos_to_source=None,
)
cached_res = None

Expand Down

0 comments on commit 4f198e8

Please sign in to comment.