SIGN IN SIGN UP

Fix get_control_flow_submodules_list call in debug handle generator pass (#6187)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/6187

We should be using `current_graph_module` not `ep.graph_module` in this loop, otherwise it can go into an infinite loop.

Reviewed By: Olivia-liu, bingcy

Differential Revision: D64309046

fbshipit-source-id: b9af1b2f8e04051984e7b84cf3681d520fb976f1
T
Tarun Karuturi committed
8dbd14ccb5d4aed41949f2501b698f9ff9813f01
Parent: d63b352
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 10/15/2024, 5:34:40 PM