Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

pproencaот pproenca★ 231 звезда на GitHub

Об этом скилле

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 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
  • Using Ray Core primitives directly — tasks, actors, object store, retries
  • Standing up or reviewing production Ray infrastructure — KubeRay CRDs, job submission, fault tolerance, observability

Rule Categories

# Category Prefix Covers
1 Ray Train train- Train V2 as the default (deprecated config fields), ray.train.report over ray.air session, config imports and elastic scaling, the prepare_model/prepare_data_loader wrappers
2 Ray Serve serve- max_ongoing_requests (old name removed), current autoscaling fields, DeploymentResponse handles, serve.run/build/deploy lifecycle, replica placement options
3 Ray Data data- compute= strategies (the concurrency reversal), override_num_blocks, streaming execution replacing pipelines, torch ingest, zero-copy read-only batches
4 Ray Core core- The classic anti-patterns' non-obvious residue, retry/restart defaults, object store & /dev/shm sizing, ray.util.state
5 Ray Tune tune- Tuner as canonical (with tune.run's true status), ray.tune.RunConfig imports, the driver-function Train integration
6 Production & Clusters prod- KubeRay CRD choice, Jobs API submission, GCS fault tolerance with Redis, baked images vs runtime_env, Prometheus/Grafana wiring

Quick Reference

1. Ray Train

2. Ray Serve

3. Ray Data

4. Ray Core

Полный SKILL.md на GitHub

Установить ray в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

AGENTS.mdassets/templates/_template.mdmetadata.jsonreferences/_sections.mdreferences/core-classic-traps-residue.mdreferences/core-object-store-sizing.mdreferences/core-retries-system-failures-only.mdreferences/core-state-api-not-ray-state.mdreferences/data-compute-not-concurrency.mdreferences/data-iter-torch-batches-not-to-torch.mdreferences/data-override-num-blocks.mdreferences/data-streaming-replaced-pipelines.mdreferences/data-zero-copy-read-only-batches.mdreferences/prod-baked-images-not-runtime-env.mdreferences/prod-gcs-ft-redis.mdreferences/prod-jobs-api-not-head-driver.mdreferences/prod-kuberay-crd-choice.mdreferences/prod-metrics-wiring.mdreferences/serve-autoscaling-current-fields.mdreferences/serve-deployment-response-handles.mdreferences/serve-max-ongoing-requests.mdreferences/serve-placement-controls.mdreferences/serve-run-build-deploy.mdreferences/train-configs-from-ray-train-elastic.mdreferences/train-prepare-model-and-loader.mdreferences/train-report-not-air-session.mdreferences/train-v2-default-changed-semantics.mdreferences/tune-driver-function-not-trainer.mdreferences/tune-runconfig-from-ray-tune.mdreferences/tune-tuner-canonical.md

FAQ

Что делает скилл 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.

Как установить скилл ray?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ray запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ray с