:orphan: Train with DeepSpeed ZeRO-3 and Ray Train ========================================= .. raw:: html Run on Anyscale

This is an intermediate example that shows how to do distributed training with DeepSpeed ZeRO-3 and Ray Train. It demonstrates how to use :ref:`Ray Data ` with DeepSpeed ZeRO-3 and Ray Train. If you just want to quickly convert your existing TorchTrainer scripts into Ray Train, you can refer to the :ref:`Train with DeepSpeed `. Code example ------------ .. literalinclude:: /../../python/ray/train/examples/deepspeed/deepspeed_torch_trainer.py See also -------- * :doc:`Ray Train Examples <../../examples>` for more use cases. * :ref:`Get Started with DeepSpeed ` for a tutorial.