Miles
What is Miles?
Miles is an open-source reinforcement learning (RL) framework designed for large-scale model post-training, including agentic workloads. It integrates SGLang for high-throughput rollouts with Megatron-LM or FSDP2 for distributed training, providing a stable and efficient stack for frontier models.
Miles is a high-performance, enterprise-ready RL framework built to address the complexities of post-training large language models at scale. By combining SGLang for rollout and Megatron-LM or FSDP2 for training, it enables developers to train frontier models with advanced features like Rollout Routing Replay (R3) for MoE stability and Token-in-Token-Out (TITO) data paths for multi-turn agentic sessions. It is designed to handle the distributed systems challenges of modern RL, such as asynchronous scheduling and low-precision training, while remaining flexible enough for custom research objectives.
Who Miles is for
Teams and individual developers working in Agentic AI and AI/Dev Infrastructure.