计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
core-runtime【效率与协作】Use Ray Core for Python tasks, actors, object refs, resources, runtime environments, and local runtime troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is about distributed Python with Ray Core primitives: ray.init, ray.remote, tasks, actors, ObjectRef, ray.put, ray.get, ray.wait, resource annotations, runtime environments, local startup/shutdown, or performance issues in task/actor/object workflows.
import ray
ray.init() # Starts a local runtime or connects according to Ray's address rules.
@ray.remote
def square(value):
return value * value
refs = [square.remote(i) for i in range(4)]
print(ray.get(refs)) # [0, 1, 4, 9]
ray.shutdown()
references/api-reference.md for the verified Core API signatures, startup options, task/actor options, and object API behavior.references/workflows.md for recipes covering tasks, actors, object-store usage, ray.wait polling, resources, runtime environments, retries, and anti-pattern rewrites.references/troubleshooting.md when code blocks on ray.get, pins object-store memory, fails serialization, deadlocks on resources, exits workers, or leaks local Ray processes.python scripts/core_smoke.py --help for a safe helper. Add --run-local only when starting a tiny local Ray runtime is acceptable.../cluster-ops/SKILL.md.../data-pipelines/SKILL.md.../train-tune/SKILL.md.../serve-deployments/SKILL.md.../rllib-workloads/SKILL.md.