#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.

Stars
3.4k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 30 weeks+2,247
2 May 2026: 1,177 stars9 May 2026: 1,279 stars16 May 2026: 1,319 stars23 May 2026: 1,383 stars30 May 2026: 1,439 stars6 Jun 2026: 1,490 stars13 Jun 2026: 1,530 stars20 Jun 2026: 1,573 stars27 Jun 2026: 1,608 stars4 Jul 2026: 1,643 stars11 Jul 2026: 1,688 stars18 Jul 2026: 1,731 stars25 Jul 2026: 1,769 stars1 Aug 2026: 1,825 stars8 Aug 2026: 1,919 stars15 Aug 2026: 1,985 stars22 Aug 2026: 2,199 stars29 Aug 2026: 2,275 stars5 Sept 2026: 2,624 stars12 Sept 2026: 2,811 stars19 Sept 2026: 2,940 stars26 Sept 2026: 2,995 stars3 Oct 2026: 3,035 stars10 Oct 2026: 3,080 stars17 Oct 2026: 3,149 stars24 Oct 2026: 3,199 stars31 Oct 2026: 3,240 stars7 Nov 2026: 3,276 stars14 Nov 2026: 3,313 stars21 Nov 2026: 3,387 stars28 Nov 2026: 3,424 stars

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

  1. “--rollout-max-context-len and --eval-max-context-len are removed.”

  2. “v0.1.2 rollout-side checkpoints cannot be resumed.”

  3. “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
Also in Training and fine-tuning
RankProjectScore
#35veomniPyTorch distributed training framework for text, vision-language and omni models2.3k starsApache-2.071 out of 100
#36trainerKubernetes operator for distributed training and LLM fine-tuning jobs2.3k starsApache-2.071 out of 100
#38prime-rlAsynchronous RL trainer for large LLMs, built on FSDP2 and vLLM2.3k starsApache-2.070 out of 100
#39minimindTrain a 64M-parameter LLM from scratch in plain PyTorch Live demo ↗ (opens in a new tab)72.8k starsApache-2.069 out of 100
#40slimeRL post-training framework connecting Megatron training with SGLang rollout8.9k starsApache-2.069 out of 100