cluster-ops
Operate Ray clusters, jobs, dashboard access, runtime environments, state APIs, logs, and observability workflows safely from the Ray CLI.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- cluster-ops
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Operate Ray clusters, jobs, dashboard access, runtime environments, state APIs, logs, and observability workflows safely from the Ray CLI.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/cli-reference.md8.9 KB
- 参考文档references/job-and-runtime-env.md8.0 KB
- 参考文档references/troubleshooting.md8.9 KB
- 脚本scripts/ray_cli_doctor.py7.1 KB
03 SKILL.md 正文
Ray Cluster Operations
Use this sub-skill when the task is about administering or inspecting Ray clusters and submitted Ray applications: ray start, ray stop, ray status, ray job submit, ray job logs, ray job status, RAY_API_SERVER_ADDRESS, dashboard forwarding, runtime environments, ray list/get/summary/logs, cluster YAML, VM/KubeRay connection concepts, or OOM debugging.
Route First
- For Ray Core application code, task/actor APIs,
ray.init(), object refs, scheduling options, or placement groups in Python, route to../core-runtime/SKILL.md. - For Ray Serve deploy/run/status/config details, Serve application YAML, HTTP ingress, or
ray serve, route to../serve-deployments/SKILL.md. - For Ray Data, Train, Tune, or RLlib workload internals, route to the matching sibling sub-skill after using this sub-skill only for cluster/job visibility.
- For cloud account, Kubernetes credential, network policy, or VM provisioning, keep guidance high-level and ask the user for their platform-specific constraints before issuing mutating commands.
Operating Rules
- Prefer read-only inspection first:
ray --help,ray status --help,ray job --help,ray list --help,ray summary --help, and this sub-skill'sscripts/ray_cli_doctor.py. - Distinguish local bootstrap addresses from dashboard HTTP addresses. Jobs and State API commands usually need the dashboard/API server address such as
http://127.0.0.1:8265; Ray Core drivers may use a Ray bootstrap address or Ray Client URI. - Treat
ray start,ray stop,ray up,ray down,ray exec,ray submit,ray attach,ray dashboard, andray symmetric-runas mutating or long-running unless the user explicitly authorizes them. - Use
ray summarybefore broadray listcalls on busy clusters; state snapshots can be stale, partial, or truncated. - For jobs, capture the submission ID, dashboard address, runtime environment, working directory, and exact entrypoint before debugging status or logs.
References
references/cli-reference.mdmaps the Ray CLI, read-only versus mutating commands, state/log patterns, and dashboard/status workflows.references/job-and-runtime-env.mdcovers Jobs CLI/API use,RAY_API_SERVER_ADDRESS,--working-dir, runtime environment packaging, and remote/KubeRay dashboard access concepts.references/troubleshooting.mdcovers connection failures, missing extras, dashboard/state API issues, runtime-env upload/import failures, OOM/system exits, and unsafe command handling.scripts/ray_cli_doctor.pychecks local Ray CLI availability and selected command help without starting, stopping, or connecting to a cluster.
Quick Triage
python scripts/ray_cli_doctor.py
python scripts/ray_cli_doctor.py --command job
python scripts/ray_cli_doctor.py --command list
If a user asks you to run a mutating cluster command, first restate what it changes, confirm the target address or cluster config, and prefer a dry-run/help command when available.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).