PyTorch#
The ray.train.torch module runs distributed PyTorch training. TorchXLAConfig lives in ray.train.torch.xla.
Trainer and configs#
A Trainer for data parallel PyTorch training. |
|
Configuration for torch process group setup. |
|
Configuration for torch XLA setup. |
Training loop utilities#
Gets the correct torch device configured for the current worker. |
|
Gets the list of torch devices configured for the current worker. |
|
Prepares the model for distributed execution. |
|
Prepares |
|
Limits sources of nondeterministic behavior. |