> Every page of the ganymede website is listed in https://eugo.io/docs/ganymede/llms.txt.

# Ray Train

> Ray Train in ganymede. Distributed training with Torch, LightGBM and XGBoost.

Web page: https://eugo.io/docs/ganymede/ray_patterns/train/

Distributed training with Torch, LightGBM and XGBoost. The trainer type is a setting of the Trainer node that the canvas does not draw, so the graphs for 36, 37 and 38 look the same.

This section holds 4 notebooks from [`ray_patterns/train/`](https://github.com/eugo-inc/ganymede/tree/main/ray_patterns/train) in the ganymede repository. Each page shows the notebook as committed; the links under a page's title download the `.ipynb` or open it on GitHub.

## Notebooks

- [Ray Train: TorchTrainer over a dataset](https://eugo.io/docs/ganymede/ray_patterns/train/36_train-torch/): A TorchTrainer runs a training loop on one CPU worker and reads its shard of a Ray Dataset.
- [Ray Train: LightGBMTrainer](https://eugo.io/docs/ganymede/ray_patterns/train/37_train-lightgbm/): A LightGBMTrainer runs a gradient-boosted tree training loop on a Ray Dataset shard.
- [Ray Train: XGBoostTrainer](https://eugo.io/docs/ganymede/ray_patterns/train/38_train-xgboost/): An XGBoostTrainer runs a gradient-boosted tree training loop on a Ray Dataset shard.
- [Ray Train: validation data, run config and results](https://eugo.io/docs/ganymede/ray_patterns/train/39_train-validation-and-results/): Two workers train with a train and a validation dataset, a train_loop_config dict and a RunConfig; result nodes pull the final metrics and the run directory…
