Files
2026-07-13 13:17:40 +08:00

26 lines
844 B
ReStructuredText

: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">
<img src="../../../_static/img/run-on-anyscale.svg" alt="Run on Anyscale" />
<br/><br/>
</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