Miles is an enterprise-facing reinforcement learning framework for LLM and VLM post-training, forked from and co-evolving with slime.
2,779
stars
2,115
commits
Python
primary language
Sep 10, 2026
updated
| Website | Documentation | Quick Start | Supported Models | Miles Diffusion | Blog | Slack (#miles-rl) |
Miles is a high-performance, enterprise-ready reinforcement learning framework for large-scale model post-training. It pairs SGLang for high-throughput rollout with Megatron-LM for scalable training, and ships the precision, stability, and observability features an RL run needs at trillion-parameter scale. A PyTorch FSDP2 backend is available for runs that would rather train the HuggingFace implementation as-is, though the recipes, the parallelism, and the largest models all live on Megatron-LM. See Training Backends.
"A journey of a thousand miles begins with a single rollout."
Miles was forked from slime, and integrates SGLang, Megatron-LM, and torch_memory_saver.
Miles is shaped by the teams that build on it and support its development, from hardware and cloud to model labs, agent infrastructure, and academia:
If Miles is useful in your research or your product, please cite it:
@misc{miles2026,
title = {Miles: Enterprise-Grade Reinforcement Learning for Large-Scale Model Post-Training},
author = {Miles Team},
year = {2026},
howpublished = {\url{https://github.com/radixark/miles}}
}
(top 30 of 118)
Python
97.7%
JavaScript
1.2%
Miles is an enterprise-facing reinforcement learning framework for LLM and VLM post-training, forked from and co-evolving with slime.
2,779
stars
2,115
commits
Python
primary language
Sep 10, 2026
updated
| Website | Documentation | Quick Start | Supported Models | Miles Diffusion | Blog | Slack (#miles-rl) |
Miles is a high-performance, enterprise-ready reinforcement learning framework for large-scale model post-training. It pairs SGLang for high-throughput rollout with Megatron-LM for scalable training, and ships the precision, stability, and observability features an RL run needs at trillion-parameter scale. A PyTorch FSDP2 backend is available for runs that would rather train the HuggingFace implementation as-is, though the recipes, the parallelism, and the largest models all live on Megatron-LM. See Training Backends.
"A journey of a thousand miles begins with a single rollout."
Miles was forked from slime, and integrates SGLang, Megatron-LM, and torch_memory_saver.
Miles is shaped by the teams that build on it and support its development, from hardware and cloud to model labs, agent infrastructure, and academia:
If Miles is useful in your research or your product, please cite it:
@misc{miles2026,
title = {Miles: Enterprise-Grade Reinforcement Learning for Large-Scale Model Post-Training},
author = {Miles Team},
year = {2026},
howpublished = {\url{https://github.com/radixark/miles}}
}
(top 30 of 118)
Python
97.7%
JavaScript
1.2%