Back to Ray

Run Horovod Distributed Training with PyTorch and Ray Train

doc/source/train/examples/horovod/horovod_example.rst

1.13.1843 B
Original Source

:orphan:

Run Horovod Distributed Training with PyTorch and Ray Train

.. raw:: html

<a id="try-anyscale-quickstart-horovod_example" target="_blank" href="https://console.anyscale.com/register/ha?render_flow=ray&utm_source=ray_docs&utm_medium=docs&utm_campaign=horovod_example">
  
  


</a>

This basic example demonstrates how to run Horovod distributed training with PyTorch and Ray Train.

Code example

.. literalinclude:: /../../python/ray/train/examples/horovod/horovod_example.py

See also

  • :ref:Get Started with Horovod <train-horovod> for a tutorial on using Horovod with Ray Train
  • :doc:Ray Train Examples <../../examples> for more use cases