Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
Closes #195
新增独立 Torch APPO 插件,并以
go2-walk-flat/rslrl.ppo为基准完成相同环境步数预算的真实 GPU 训练与固定指令评估。motrix_rl_appo提供appo.ppo:V-trace、IMPACT-style clipped surrogate、target actor、单 collector / learner 异步流水线;不依赖 Ray 或 RSL-RL。--appo安装 extra、workspace、CI 安装闭包以及 CartPole / Go2 配方。Go2 同预算训练与评估
协议
主结果
本次单训练 seed:APPO 吞吐约高 36.0%、耗时约少 26.5%、评估回报约高 19.65%。总体 vx/vy/yaw RMSE 分别约低 23.1% / 24.7% / 59.6%。加速主要来自采样与学习重叠,不是单次梯度更新更快。
¹ 计时不是严格统一秒表:RSLRL 为 collection+learning 累计;APPO 为 trainer wall axis,包含 startup/循环开销,截至最后更新,最终保存和退出不含。机器存在其他任务,尚未做多次交替计时复验。
训练曲线对比
打开原图(Git LFS) · 详细实验记录
曲线展示训练回报/回合长度相对于 update、env transitions、wall time 的变化。两算法 completed-episode aggregation 窗口不同,曲线用于学习诊断,不作为精确同口径样本效率结论;主效果依据上面的固定指令评估。
每个 held-out 环境 seed 的回报
已知弱项与结论边界
验证
prek run --all-files、Ruff、git diff --check通过。runs/历史一次性脚本旧 import 的收集问题;未隐藏或声称完整全仓通过。实际插件安装使用
uv pip install --no-deps -e ./motrix_rl_appo,保留既有 CUDA 栈;额外执行 frozen sync dry-run 验证闭包,不将 dry-run 当成全环境安装验收。产物定位
runs/go2-walk-flat/rslrl/torch/ppo/26-11-27_23-56-33-216442/checkpoints/latest.ptruns/go2-walk-flat/appo/torch/ppo/26-11-28_00-05-38-475556/checkpoints/latest.ptruns/appo-go2-comparison/(忽略的运行产物,不包含在源码 PR;曲线和实验摘要已提交)。