-
Notifications
You must be signed in to change notification settings - Fork 28
Basic pdb debugging for actor mesh #217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This pull request was exported from Phabricator. Differential Revision: D76086980 |
df030fe
to
afabe76
Compare
Summary: This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
This pull request was exported from Phabricator. Differential Revision: D76086980 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D76086980 |
afabe76
to
3f4bd16
Compare
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
This pull request was exported from Phabricator. Differential Revision: D76086980 |
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
3f4bd16
to
7c26af7
Compare
This pull request was exported from Phabricator. Differential Revision: D76086980 |
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
7c26af7
to
5159490
Compare
This pull request was exported from Phabricator. Differential Revision: D76086980 |
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
5159490
to
255fc03
Compare
This pull request was exported from Phabricator. Differential Revision: D76086980 |
255fc03
to
325c27e
Compare
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
This pull request was exported from Phabricator. Differential Revision: D76086980 |
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
325c27e
to
e60b146
Compare
This pull request was exported from Phabricator. Differential Revision: D76086980 |
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
e60b146
to
8523cde
Compare
Summary: Pull Request resolved: pytorch-labs#217 This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is: - Call `init_debugging(python_actor_mesh)` to get a `debug_client` - Call `debug_client.enter()` to enter a debugging session - Input `list` to show the set of currently active breakpoints across your mesh - Attach to a specific actor by inputting `attach`, then run arbitrary pdb commands for the attached actor - Input `detach` to exit back into the outer debug loop, where you can attach to another rank - Cast pdb commands to multiple actors at once, either via a comma separated list like `cast r0,r1,r2 <command>` or to all actors via `cast * <command>` - Input `quit` to exit the debug session and continue Reviewed By: suo Differential Revision: D76086980
This pull request was exported from Phabricator. Differential Revision: D76086980 |
8523cde
to
b46fbbd
Compare
This pull request has been merged in fd69509. |
Summary:
This diff fleshes out suo's work in D75023066 to provide a basic pdb debugging experience for python actor meshes. The basic flow is:
init_debugging(python_actor_mesh)
to get adebug_client
debug_client.enter()
to enter a debugging sessionlist
to show the set of currently active breakpoints across your meshattach
, then run arbitrary pdb commands for the attached actordetach
to exit back into the outer debug loop, where you can attach to another rankcast r0,r1,r2 <command>
or to all actors viacast * <command>
quit
to exit the debug session and continueDifferential Revision: D76086980