Individual skill
ray
Production Ray (open-source, pinned to 2.57) for classic-ML workloads from training to serving — Ray Train, Tune, Data, Serve, Core, and cluster deployment on KubeRay. Corrects the older-corpus defaults a model reaches for (ray.air session reporting, Trainer-inside-Tuner, tune.run, map_batches concurrency=, DatasetPipeline/to_torch, max_concurrent_queries, RayServeHandle + ray.get, Deployment.deploy, ray.state, ray.get-in-a-loop) with the 2.57 idioms that replaced them (Train V2 defaults, driver-function tuning, compute strategies, streaming datasets, DeploymentHandle/DeploymentResponse, serve build/deploy, ray.util.state, KubeRay CRDs and Jobs API). Use when writing, reviewing, or productionizing Python code that touches Ray distributed training, data pipelines, hyperparameter tuning, model serving, or Ray cluster operations. LLM serving/batch-inference on Ray lives in the sibling ray-llm skill.
skills/.experimental/ray/SKILL.md
Source commit cf93c57cac89d6fc3e4194686000411567f5caf3
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 5, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 222
- Repository last updated
- Aug 15, 2026
- License
- MIT
Observed agent integration: codex
- operations Derived category
- writing Derived category
- data Derived category
- devops Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
AGENTS.mddoc · 8,618 bytesSKILL.mdcore · 8,866 bytesSKILL.mdcore · 8,866 bytesSKILL.mdcore · 8,866 bytesassets/templates/_template.mddoc · 935 bytesmetadata.jsonasset · 3,089 bytesreferences/_sections.mddoc · 3,161 bytesreferences/core-classic-traps-residue.mddoc · 1,849 bytesreferences/core-object-store-sizing.mddoc · 1,268 bytesreferences/core-retries-system-failures-only.mddoc · 1,118 bytesreferences/core-state-api-not-ray-state.mddoc · 1,094 bytesreferences/data-compute-not-concurrency.mddoc · 1,296 bytesreferences/data-iter-torch-batches-not-to-torch.mddoc · 1,219 bytesreferences/data-override-num-blocks.mddoc · 899 bytesreferences/data-streaming-replaced-pipelines.mddoc · 1,136 bytesreferences/data-zero-copy-read-only-batches.mddoc · 1,239 bytesreferences/prod-baked-images-not-runtime-env.mddoc · 1,341 bytesreferences/prod-gcs-ft-redis.mddoc · 1,398 bytesreferences/prod-jobs-api-not-head-driver.mddoc · 1,070 bytesreferences/prod-kuberay-crd-choice.mddoc · 1,263 bytesreferences/prod-metrics-wiring.mddoc · 1,513 bytesreferences/serve-autoscaling-current-fields.mddoc · 1,332 bytesreferences/serve-deployment-response-handles.mddoc · 1,437 bytesreferences/serve-max-ongoing-requests.mddoc · 1,204 bytesreferences/serve-placement-controls.mddoc · 1,322 bytesreferences/serve-run-build-deploy.mddoc · 1,352 bytesreferences/train-configs-from-ray-train-elastic.mddoc · 1,226 bytesreferences/train-prepare-model-and-loader.mddoc · 1,516 bytesreferences/train-report-not-air-session.mddoc · 1,767 bytesreferences/train-v2-default-changed-semantics.mddoc · 1,514 bytesreferences/tune-driver-function-not-trainer.mddoc · 2,145 bytesreferences/tune-runconfig-from-ray-tune.mddoc · 1,211 bytesreferences/tune-tuner-canonical.mddoc · 1,452 bytes
Read excerpt
# Ray
Library-reference skill for production, open-source Ray — 26 rules across 6 categories covering the path from training to serving. Ray's API surface churned hard through the 2.x line (Train V2 became the default, Serve removed parameters and handle classes outright, Ray Data reversed a deprecation), so a model fluent in the older corpus produces code that warns, errors, or silently means something else. Each rule names the wrong default it corrects; there is no rule for things a capable model already gets right.
Scope is classic-ML Ray on self-hosted/KubeRay clusters. LLM serving and batch inference (`ray.serve.llm`, `ray.data.llm`) are the sibling [`ray-llm`](../ray-llm/) skill.
Pinned to **ray 2.57.0** (Python ≥ 3.10). API claims were verified against the unpacked 2.57.0 wheel; classic-ML examples were exercised on a live local Ray 2.57.0 runtime.
## When to Apply
- Writing or reviewing distributed training code — `TorchTrainer`, `ScalingConfig`, checkpointing, fault tolerance
- Building data pipelines with Ray Data — reads, `map_batches`, GPU inference pools, training ingest
- Running hyperparameter sweeps with Ray Tune, especially combined with Ray Train
- Writing or reviewing Ray Serve deployments — scaling, handles, composition, production config