Miles v0.1:生产级后训练

·

研究论文 · 2026/09/09

Miles v0.1 是一个面向前沿后训练的全栈生产级系统。基于 slime 的简洁设计,Miles 将强化学习训练循环的每个阶段都围绕一个原则:组件应可验证、简洁且可定制。以准确性、效率、可靠性和可扩展性为首要目标,Miles 旨在让前沿规模的强化学习对研究者和企业同样可及。本文端到端地介绍了该系统:基于 SGLang 的 rollout 引擎、支持两种后端(NVIDIA Megatron-LM 和 PyTorch FSDP)的训练器,以及三种用于不同部署拓扑的权重同步传输方式。除了全参数强化学习,Miles 还支持 LoRA 强化学习、同策略蒸馏、监督微调和真正的同策略 rollout-训练对齐,并将相同的架构扩展到扩散模型。最后,我们展示了一个端到端案例研究:在 GLM-5.2 744B-A40B 模型上针对终端使用编码任务进行完全异步的智能体强化学习,运行在 64 块 NVIDIA GB300 GPU 上,前 30 个测量步骤的中位步骤时间为 263 秒。Miles 已在 https://github.com/radixark/miles 开源,项目网站为 https://miles.radixark.com。

该报告介绍了一个面向前沿后训练的全栈生产级系统,提供了详细的架构设计和实现,并展示了在大型模型上的实际应用案例,对于从事强化学习系统设计和部署的研究者与工程师具有重要参考价值。

We present Miles v0.1, a full-stack, production-ready system for frontier post-training. Building upon the clean design of slime, Miles designs each stage of the reinforcement-learning (RL) training loop around a single principle: components should be verified, clean, and customizable. With accuracy, efficiency, reliability, and scalability as first-class goals, Miles aims to make frontier-scale RL accessible to researchers and enterprises alike. This report walks through the system end to end: rollout engines built on SGLang, a trainer with a choice of two backends (NVIDIA Megatron-LM and PyTorch FSDP), and three weight-synchronization transports for different deployment topologies. Beyond full-parameter RL, Miles also supports LoRA RL, on-policy distillation, supervised fine-tuning, and true-on-policy rollout-training alignment, and extends the same architecture to diffusion models. We close with an end-to-end case study: fully asynchronous agentic RL on a GLM-5.2 744B-A40B model over terminal-use coding tasks, running on 64 NVIDIA GB300 GPUs with a median step time of 263 seconds over the first 30 measured steps. Miles is open-sourced at https://github.com/radixark/miles, with the project website at https://miles.radixark.com.

阅读原文

参与讨论