ray.train.torch.TorchTrainer.fit#
- TorchTrainer.fit() Result #
Launches the Ray Train controller to run training on workers.
- Returns:
A Result object containing the training result.
- Raises:
ray.train.v2.api.exceptions.TrainingFailedError – If any failures occur during training and the number of retries configured in
FailureConfig
is exhausted.