界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

ray-and-recovery

ray-and-recovery

【数据与研究】Data-Juicer Ray execution, partitioning, checkpointing, recovery, and job lifecycle workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: ray-and-recovery description: "Data-Juicer Ray execution, partitioning, checkpointing, recovery, and job lifecycle workflows." metadata: disco-role: operating disable-model-invocation: true license: Apache 2.0

ray-and-recovery

Use this sub-skill for Data-Juicer tasks that involve Ray execution, partitioned processing, checkpoints, resume semantics, job monitoring, or tracing.

Start here

Read these references when the task is more than a smoke test:

  • references/workflows.md
  • references/checkpointing.md
  • references/job-management.md
  • references/troubleshooting.md

Owns

  • executor_type: ray and executor_type: ray_partitioned
  • partition sizing, resume tokens, job IDs, event logs, checkpoint storage
  • job snapshot, monitor, and stop helpers
  • Ray analyzer, exporter, and tracer behavior
  • safe local Ray availability checks

Excludes

  • Local recipe semantics without Ray -> recipes-and-ops
  • FastAPI service and MCP routing -> service-mcp
  • Spark launchers, cluster provisioning scripts, and maintainer-only distributed jobs unless they are only used as references

Common flow

  1. Verify Ray can start locally.
  2. Choose a plain or partitioned executor.
  3. Set work directory, checkpointing, and event logging deliberately.
  4. Run the job, then inspect progress or recovery state with the job helpers.

Validation targets

  • Can the job resume after interruption?
  • Are checkpoint and event-log paths stable?
  • Are the failure messages specific enough to fix the configuration?

When to route away

  • Any mention of API routes, MCP transport, or operator search service
  • Any mention of local-only dataset config tuning with no Ray execution
我的收藏