Agent skill

ray-train

Ray Train scales machine learning training from single GPU to multi-node clusters with minimal code changes.

majiayu000534★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill ray-train --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/ai-ml/ray-train/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- name: ray-train description: Distributed training orchestration across clusters. Scales PyTorch/TensorFlow/HuggingFace from laptop to 1000s of nodes. Built-in hyperparameter tuning with Ray Tune, fault tolerance, elastic scaling. Use when training massive models across multiple machines or running distributed hyperparameter sweeps. version: 1.0.0 author: Orchestra Research license: MIT tags: [Ray Train, Distributed Training, Orchestration, Ray, Hyperparameter Tuning, Fault Tolerance, Elastic Scaling, Multi-Node, PyTorch, TensorFlow] dependencies: [ray[train], torch, transformers] --- # 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**: ```bash pip install -U "ray[train]" ``` **Basic PyTorch training** (single node): ```python 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 dis

What's inside
Steps it walks through
  1. Quick start
  2. Common workflows
  3. Workflow 1: Scale existing PyTorch code
  4. Workflow 2: HuggingFace Transformers integration
  5. Workflow 3: Hyperparameter tuning with Ray Tune
  6. Workflow 4: Checkpointing and fault tolerance
  7. Workflow 5: Multi-node training
  8. When to use vs alternatives
  9. Common issues
  10. Advanced topics
  11. Hardware requirements
  12. Resources
Ships with 1 file
  • metadata.json
Commands it runs
pip install -U "ray[train]"
On head node
ray start --head --port=6379
On worker nodes
ray start --address=<head-node-ip>:6379
ray status
Should show:
Restart head node
ray stop
ray start --head --port=6379 --dashboard-host=0.0.0.0
More from claude-skill-registry
All skills →
About this skill
What does the ray-train skill do?

Ray Train scales machine learning training from single GPU to multi-node clusters with minimal code changes.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill ray-train --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going