mila-iqia / platoon

Multi-GPU mini-framework for Theano
MIT License
195 stars 41 forks source link

Debug workers #77

Open slefrancois opened 7 years ago

slefrancois commented 7 years ago

Currently, the pdb debugger cannot be used on worker processes, because the main console running the controller process is not connected to the worker prompt.

Debugging models would be easier if we could pass the worker's pdb prompts to the main terminal.

nouiz commented 7 years ago

I think there is a way to manually start the worker. Is that right? If so, this allow to do that. But maybe it was removed.

I don't know how we can connect multiple worker to the same parent termianl. Is this possible?

On Tue, Oct 25, 2016 at 5:11 PM, Simon Lefrancois notifications@github.com wrote:

Currently, the pdb debugger cannot be used on worker processes, because the main console running the controller process is not connected to the worker prompt.

Debugging models would be easier if we could pass the worker's pdb prompts to the main terminal.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mila-udem/platoon/issues/77, or mute the thread https://github.com/notifications/unsubscribe-auth/AALC-4dlwbxX6iyTOp_R9cGq5wjkIlL4ks5q3nCZgaJpZM4KgfX8 .