Skip to content

Commit

Permalink
Update on "[wip][compiled autograd] runtime wrapper for verbose debug…
Browse files Browse the repository at this point in the history
…ging"

cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx chenyang78 kadeng chauhang

[ghstack-poisoned]
  • Loading branch information
xmfan committed May 2, 2024
1 parent d83cdbd commit c39d929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torch/_dynamo/compiled_autograd.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ def end_capture(self, outputs):
)

def runtime_wrapper(compiled_fn, inputs, sizes, hooks):
breakpoint()
# insert inspecting code here
# insert debug code here
verbose_log.debug(f"lifted hooks={hooks}")
return compiled_fn(inputs, sizes, hooks)

return runtime_wrapper, self.compiler_fn(graph)
Expand Down

0 comments on commit c39d929

Please sign in to comment.