Coder Social home page Coder Social logo

Comments (1)

bmartinn avatar bmartinn commented on July 29, 2024

Hi @ebritsyn, not sure how this issue passed by without me noticing, apologies ;)
It's awesome to hear that you are using Horovod and Trains together!

Now back to your question:
Horovod sits on top of OpenMPI, and actually pipes all the stdout/stderr from all the nodes to the "main" (rank 0) node.

From your question I'm assuming this is a "manual" execution scenario (i.e. you launch the experiment training yourself). Do you have all the stdout/stderr from all the nodes on the "rank 0" experiment result page?

Did you add a specific code making sure you only create the experiment on the "rank 0" node, like #59 did?

Regrading source code & packaging, why don't you use the trains-agent to launch the code on all nodes, this way you can ensure the code & environment are exactly the same.

Basically all you nee to do is (assuming you have trains.conf already on your nodes):

$ pip install trains_agent
$ trains-agent execute --full-monitoring --id <your_task_id>

Or if you want to take the manual approach, you can a use trains-agent to build the experiment environment (packages and code) on every node, then execute the code manually:

$ pip install trains_agent
$ trains-agent build --id <your_task_id> --target-folder ~/my_horovod_experiment
$ cd ~/my_horovod_experiment
$ . bin/activate
$ python ./code/my_main_script.py

from clearml.

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.