operations-evaluation-debugging
Guides RLinf evaluation operations, metric and checkpoint inspection, profiling, data/checkpoint utilities, CI test selection, and runtime failure triage.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- operations-evaluation-debugging
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Guides RLinf evaluation operations, metric and checkpoint inspection, profiling, data/checkpoint utilities, CI test selection, and runtime failure triage.
- disable-model-invocation
- true
02 资源文件 7
- 参考文档references/data-checkpoint-utilities.md8.0 KB
- 参考文档references/debugging-and-ci.md7.8 KB
- 参考文档references/evaluation-operations.md7.6 KB
- 参考文档references/metrics-checkpoints.md8.7 KB
- 参考文档references/troubleshooting.md8.5 KB
- 脚本scripts/check_run_artifacts.py13.6 KB
- 脚本scripts/summarize_config_matrix.py13.7 KB
03 SKILL.md 正文
RLinf operations, evaluation, and debugging
Use this sub-skill when a task asks a future agent to inspect RLinf run outputs, reason about training or evaluation logs, choose metric backends, resume from checkpoints, plan embodied evaluation, profile or auto-place a run, select safe CI/tests, use data/checkpoint utilities, or triage common runtime failures.
Do not start training, evaluation, Ray clusters, robot motion, downloads, or destructive data conversion just because this skill is loaded. Begin with static inspection of the user's target run directory, config tree, logs, checkpoint tree, and stated hardware/credential availability.
Start here
- Inspect existing outputs with
scripts/check_run_artifacts.py. It is read-only and works from any current directory. - Summarize candidate YAML families with
scripts/summarize_config_matrix.pybefore choosing an evaluation or CI matrix. - Use the references below to decide whether the request is an evaluation plan, resume plan, artifact audit, profiling/placement pass, utility workflow, CI selection, or troubleshooting triage.
References
references/evaluation-operations.md— embodied eval architecture, benchmark prerequisites, config overrides, output inspection, videos, and standalone-eval guardrails.references/metrics-checkpoints.md— TensorBoard/W&B/SwanLab logging, metric namespaces, log layout, checkpoint layouts, resume procedure, and conversion guardrails.references/data-checkpoint-utilities.md— replay buffer, LeRobot, dual-Franka, standalone eval, and checkpoint utility safety rules.references/debugging-and-ci.md— profiling, tracing, auto-placement, parity/log analysis, static test choice, CI filter implications, and safe verification ladders.references/troubleshooting.md— Ray/GCS, NCCL/Gloo, CUDA/OOM/offload, SGLang restore, EGL/MuJoCo/Vulkan, asset/model path, and service credential triage.
Routing boundaries
- Initial install, Ray cluster startup syntax, node-rank environment setup, and cluster lifecycle commands belong to
setup-and-cluster. - Task-specific training launches and model/env YAML recipes belong to
embodied-workflowsorreasoning-agent-workflows. - New source-code implementation, registry changes, new tests, Docker stages, and extension PR work belong to
extension-development. - This sub-skill may identify which component likely failed, which artifact is missing, and which narrow test family to run, but it should not silently convert data, delete buffers, upload metrics, or run long GPU/robot jobs without explicit user approval.
Safe defaults
- Prefer artifact inspection, config summarization, and small unit/static checks over long e2e jobs.
- Treat real-world robot evaluation, replay-buffer mutation, checkpoint conversion, and cloud logger authentication as explicit-approval operations.
- When logs mention multiple symptoms, triage the earliest root-cause fragment first; later Gloo/NCCL timeouts are often secondary.
- Preserve user artifacts. Do not overwrite checkpoints, replay buffers, LeRobot datasets, logs, or videos unless the user explicitly requests a mutation and a backup/target path is clear.
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).