Skip to content

areal: 更新 2.1.1 看护用例 - #270

Open
p40www wants to merge 2 commits into
Ascend:mainfrom
p40www:feat/areal-examples-guard
Open

p40www wants to merge 2 commits into
Ascend:mainfrom
p40www:feat/areal-examples-guard

Conversation

@p40www

@p40www p40www commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

背景

AReaL 最新版本(v2.1.1)examples/ 下的 .py/.sh 从 114 增至 161:

  • 支持的用例(可看护)4(17->4)
  • 不支持的用例(可看护,当前无法支持) 34
  • 不可看护的对象(非用例/工具类)123

变更

新增用例(1)

  • examples/swe/train_sft.py(SWE 轨迹 SFT 冒烟):新增 fixture examples-guards/areal/fixtures/swe_sft_pairs.jsonl 与 setup profile areal-swe-sft

新增不支持用例(8)

NPU 不支持(SGLang / Megatron / AWEX / R3):

  • examples/math/gsm8k_score_centering.py
  • examples/cpu_staged_offload/dapo-math_rl_cpu_staged.py
  • examples/mopd/gsm8k_qwen3_14b_to_0_6b.py
  • examples/r3/gsm8k_multiturn.py
  • examples/r3/gsm8k_rlvr.py
  • examples/vlm/geometry3k_agent_grpo.py

需外部服务(Arena 在线 Stream + slurm 集群):

  • examples/swe/qwen38_flash_next/train_rl.py
  • examples/swe/rl/qwen38_27b/qwen27_train_rl.py

新增不可看护对象(38)

examples/ 下新增的包标识(__init__.py)、SWE Arena / qwen38 支撑模块、.sh 提交脚本及数据/工具类共 38 个,均为非入口文件(tests / helper / 包标识 / CLI / .sh),不单独看护。

移出支持用例(14)

v2.1.1 新增的 compact 统计路径(stat_compact / _aggregate_compact,MiMo 风格训练指标,11a1907e/#1736)用 fp64 累加,导出时经 HCCL 规约报 Unsupported data type at::kDouble(ERR02007):训练能跑完,最后 export_stats 崩。无配置/环境变量出口(硬编码),等上游修复后迁回 supported:

  • examples/vlm/clevr_count_70k_grpo.py
  • examples/tau2/train.py
  • examples/vlm/geometry3k_grpo.py
  • examples/math/gsm8k_rl.py
  • examples/math/boba_grpo.py
  • examples/countdown/train.py
  • examples/multi_turn_math/gsm8k_rl_mt.py
  • examples/tir/train_tir.py
  • examples/scaffolding/gsm8k_rlvr_scaffolding.py
  • examples/openai_agents/train_agents.py
  • examples/camel/train.py
  • examples/agent_workflow/train.py
  • examples/hermes/train.py
  • examples/openclaw/train.py

setup / run 清理

  • 删除 14 条不支持用例对应的 profile、数据准备小节与 run 分支等死代码,仅保留 4 条 supported 路径

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant