Distributed training orchestration that scales PyTorch, TensorFlow, and HuggingFace code from one GPU to multi-node clusters.
- CCM score
- 51 of 100
- skills.sh installs
- 1.2K
- GitHub stars
- 14.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers single-node and multi-node training, HuggingFace Transformers integration, and distributed hyperparameter sweeps with Ray Tune
- Includes workflows for scaling existing PyTorch loops, checkpointing with automatic resume, and launching clusters via
ray start - Provides fault tolerance that resumes from the latest checkpoint and elastic scaling that adds or removes nodes during training
- Designed for training massive models across multiple machines or running large parallel hyperparameter searches
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill ray-train -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Ray Train - Distributed Training Orchestration
Quick start
Ray Train scales machine learning training from single GPU to multi-node clusters with minimal code changes.
Installation:
pip install -U "ray[train]"
Basic PyTorch training (single node):
import ray
from ray import train
from ray.train import ScalingConfig
from ray.train.torch import TorchTrainer
import torch
import torch.nn as nn
# Define training function
def train_func(config):
# Your normal PyTorch code
model = nn.Linear(10, 1)
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)
# Prepare for distributed (Ray handles device placement)
model = train.torch.prepare_model(model)
for epoch in range(10):
# Your training loop
output = model(torch.randn(32, 10))
loss = output.sum()
loss.backward()
optimizer.step()
optimizer.zero_grad()
# Report metrics (logged automatically)
train.report({"loss": loss.item(), "epoch": epoch})
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Categories
- Data Science & Analytics, Python
- First seen
- Jun 3, 2026
Questions
What does the ray-train skill do?
The ray-train skill orchestrates distributed training across clusters, scaling PyTorch, TensorFlow and HuggingFace code from a single laptop to thousands of nodes. It also covers hyperparameter tuning with Ray Tune, fault tolerance and elastic scaling. It suits training large models across several machines or running distributed hyperparameter sweeps.
How do I install the ray-train skill?
Run npx -y skills add orchestra-research/ai-research-skills --skill ray-train -y in your project to install it. Once installed, the agent can scale your existing PyTorch training code to multiple GPUs or nodes with minimal changes.
Where does ray-train sit in its category?
ray-train is listed under Data Science & Analytics on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It sets itself apart by focusing on multi-node distributed training and Ray Tune hyperparameter search.
What do I need to use ray-train?
The skill's SKILL.md installs the ray[train] package with pip and relies on torch and transformers, with Ray Train used for PyTorch, TensorFlow and HuggingFace jobs. For multi-node work, you start a Ray head node and connect worker nodes to it.
More from orchestra-research/ai-research-skills
All 92- Unsloth1.1K
- Huggingface Accelerate1.1K
- Evaluating Llms Harness1.1K
- Crewai Multi Agent1.1K
- Knowledge Distillation1.1K
- Tensorboard1.1K
- Ray Data1.1K
- Fine Tuning With Trl1.1K
- Prompt Guard1.1K
- Llama Cpp1.1K
- Optimizing Attention Flash1.1K
- Quantizing Models Bitsandbytes1.1K
- Deepspeed1.1K
- Dspy1.1K
- Grpo Rl Training1.1K
- Qdrant Vector Search1.1K
- Pytorch Fsdp21.1K
- Pytorch Lightning1.1K
- Transformer Lens Interpretability1.1K
- Axolotl1.1K
- Clip1.1K
- Langchain1.1K
- Sentence Transformers1.1K
- Huggingface Tokenizers1.1K
Similar to Ray Train
More Data Science & Analyticsdistributed-trainingPluginOrchestra-Research/AI-Research-SKILLs14.8K starsMulti-GPU and multi-node training including DeepSpeed, PyTorch FSDP, Accelerate, Megatron-Core, PyTorch Lightning, and Ray Train. Use when training large models
huggingface-accelerateSkillorchestra-research/ai-research-skills1.1K installsUnified distributed training API that adds multi-GPU support to PyTorch scripts in about four lines.
pytorch-lightningSkillk-dense-ai/scientific-agent-skills2.3K installsDeep learning framework that organizes PyTorch code into LightningModules and scales training across devices.
pytorch-fsdpSkilldavila7/claude-code-templates395 installsExpert guidance for PyTorch FSDP training covering parameter sharding, mixed precision, CPU offloading, and FSDP2.