#3737th of 126 in Training and fine-tuning
miles
RL post-training framework pairing SGLang rollout with Megatron-LM training
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts miles on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.miles is on your watch list. Its new releases and problems show there.
- Stars
- 3.4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
1,177 on 2 May 20263,424 on 28 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
RadixArk is hiring: 19 open roles
Overview
Miles is a Python reinforcement learning framework for post-training large models. It uses SGLang for rollout generation and Megatron-LM for training, with FSDP2 and torchtitan backends also supported. It covers GRPO, GSPO, PPO, REINFORCE++, SFT and on-policy distillation, and runs on Ray or Kubernetes via Helm. It was forked from slime.
Who it is for: ML engineers running large-scale RL post-training of LLMs on GPU clusters
Strengths
- Fully async rollout and training workers, with configurable on- and off-policy schedules
- Recovers a dead SGLang engine in place and resumes the run without a restart
- Supports MXFP8, NVFP4, FP8, INT4 QAT, BF16, FP16, plus LoRA and multi-LoRA
- Runs on NVIDIA (A100 to GB300) and AMD (MI300X to MI355X) GPUs
Weaknesses
- Aimed at multi-GPU clusters; the README gives no single-GPU or small-scale path
- Requires SGLang and Megatron-LM stacks, which adds setup work
- No Dockerfile or compose file detected in the repository
- Diffusion RL lives in a separate repository, miles_diffusion
What it needs
- GPU required
- Docker
- Needs SGLang, Megatron-LM, Ray, Kubernetes (optional, via Helm)
- Models: DeepSeek-V4, Kimi-K2.6, Kimi-K3, Qwen3.5, Qwen3.8
What changed
- v0.2.0 ↗ (opens in a new tab)Breaking
“--rollout-max-context-len and --eval-max-context-len are removed.”
- v0.1.3 ↗ (opens in a new tab)Breaking
“v0.1.2 rollout-side checkpoints cannot be resumed.”
- v0.1.2 ↗ (opens in a new tab)Breaking
“Launcher subcommands. Launch scripts now expose prepare, train and full-train. train only submits training (and copies converted checkpoints to node-local disk first); download/cast/conversion moved …”
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #35 | veomniPyTorch distributed training framework for text, vision-language and omni models | 71 out of 100 |
| #36 | trainerKubernetes operator for distributed training and LLM fine-tuning jobs | 71 out of 100 |
| #38 | prime-rlAsynchronous RL trainer for large LLMs, built on FSDP2 and vLLM | 70 out of 100 |
| #39 | minimindTrain a 64M-parameter LLM from scratch in plain PyTorch | 69 out of 100 |
| #40 | slimeRL post-training framework connecting Megatron training with SGLang rollout | 69 out of 100 |