GithubHelp home page GithubHelp logo

Comments (4)

mosesnyamai avatar mosesnyamai commented on June 25, 2024 1

from ipyparallel.

minrk avatar minrk commented on June 25, 2024 1

Got it. I don't think there's any feature request here, but perhaps an example or some docs. I don't know much about torch or what ddp is, but if you can provide some examples of how workers are started with it, I may be able to give a hint to how to get them into IPython Parallel. Usually the easiest way is to start IPython Parallel and then run whatever startup code the workers use in the IPython session.

The second way is to use some code injection to launch an IPython interpreter in each worker after they are launched in whatever way your tool usually does. That's all the information I can give without knowing anything about the situation.

from ipyparallel.

minrk avatar minrk commented on June 25, 2024

Is there a task here? I'm not sure why this has been opened as an issue on this repo.

You can use IPython Parallel for a certain kind of debugging in parallel (it's not a debugger and certainly not a parallel debugger, which is very challenging), but it can be used to get an interactive interpreter in each of your worker processes for poking around.

from ipyparallel.

fecet avatar fecet commented on June 25, 2024

Having an interactive interpreter during parallel training is already quite appealing, especially now that deep learning increasingly relies on a significant amount of resources. This could be a scenario where ipyparallel can shine.

This issue primarily serves as a feature request or question because initiating torch ddp requires some additional setup, which remains challenging for regular users like myself.

from ipyparallel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.