AGENT SKILL

training-workflows

Configure and launch EasyR1 distributed RL post-training jobs with OmegaConf configs, CLI overrides, Ray/FSDP/vLLM runtime assumptions, algorithms, LoRA, logging, checkpoint resume, and launch troubleshooting.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
training-workflows
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Configure and launch EasyR1 distributed RL post-training jobs with OmegaConf configs, CLI overrides, Ray/FSDP/vLLM runtime assumptions, algorithms, LoRA, logging, checkpoint resume, and launch troubleshooting.
disable-model-invocation
true

02 资源文件 5

03 SKILL.md 正文

EasyR1 Training Workflows

Use this sub-skill when the task is to configure, lint, explain, or launch an EasyR1 RL post-training job through python -m verl.trainer.main.

Start here

  • references/training-configuration.md: Explains the EasyR1 config hierarchy, merge order, algorithm and loss knobs, Ray/FSDP/vLLM assumptions, LoRA, logging, validation, save, and resume options.
  • references/example-launch-recipes.md: Provides distilled launch recipes for GRPO, DAPO, Reinforce++, GSPO, CISPO, SAPO, LoRA, VL, logging, resume, and multi-node runs.
  • references/troubleshooting.md: Maps common training, Ray, CUDA, vLLM, FSDP, LoRA, online filtering, logging, and checkpoint-resume failures to fixes.
  • scripts/easyr1_config_lint.py: Safely parses an EasyR1-style YAML config and reports structural, enum, batching, runtime, DAPO, and LoRA warnings without starting training.
  • scripts/easyr1_command_builder.py: Builds a shell-quoted python -m verl.trainer.main config=... key=value... command from a config path and CLI overrides without executing it.

Scope boundaries

This sub-skill owns training configuration and launch decisions: OmegaConf files, CLI overrides, python -m verl.trainer.main, Ray resource assumptions, FSDP actor/ref/critic settings, vLLM rollout settings, GRPO/DAPO/Reinforce++/ReMax/RLOO/GSPO/CISPO/SAPO choices, LoRA launch cautions, logger selection, validation, save, and resume.

Route these tasks elsewhere in the EasyR1 skill graph:

  • Dataset columns, prompt templates, reward-function implementation, Android GUI reward details, and reward smoke tests belong to data-and-rewards.
  • DataProto, padding/unpadding, dynamic batching internals, and low-level algorithm tensor APIs belong to core-apis.
  • Converting actor checkpoints to Hugging Face format or inspecting checkpoint shards belongs to checkpoint-export.

Safety contract

Static config checks and command construction are CPU-safe and do not prove that a full training run will work. Full EasyR1 training requires a CUDA-capable runtime with the EasyR1 training stack, including Ray, vLLM, flash-attn, a compatible PyTorch build, sufficient GPUs, and accessible model and dataset assets.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351