Tools/radixark/miles

miles

Miles is an enterprise-facing reinforcement learning framework for LLM and VLM post-training, forked from and co-evolving with slime.

2.6kemergingPythonApache License 2.0trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Sep 2026

Miles is a reinforcement-learning framework for post-training large language and vision models, the tuning step that happens after a base model is trained. It pairs SGLang for fast rollout with Megatron-LM for scalable training, and it is built for the trillion-parameter end of the spectrum, with day-0 support for models like DeepSeek-V4 and Kimi K3. Apache-2.0, and it co-evolves with the slime project it forked from.

This is heavy infrastructure. Fully async RL, MXFP8 and NVFP4 low-precision training, P2P RDMA weight transfer that pushes new weights to inference engines in seconds, LoRA and multi-LoRA. None of that is plug-and-play. You need a real GPU cluster, deep familiarity with Megatron and distributed training, and the patience to run something at frontier scale. A PyTorch FSDP2 backend exists for smaller HuggingFace-style runs, but the recipes and the big models live on Megatron.

If you are an ML team actually doing RL post-training on large models, Miles is aimed squarely at you and moves fast on new architectures. Everyone else, this is not the tool, and it is not pretending to be. The catch: "enterprise-grade" here means enterprise-scale hardware and expertise. On a couple of GPUs you will barely touch what it is for.

Free vs Self-Hosted vs Paid

fully free

Free: Miles is Apache-2.0 and fully open source. The framework, recipes, and both training backends (Megatron-LM and PyTorch FSDP2) cost nothing.

Self-hosted: This is the only way to run it, and it is demanding. You bring the GPU cluster, the distributed-training know-how, and the ops to keep a large RL run alive. Not a laptop tool.

Paid: None from the project. The real cost is compute: the GPU cluster and the engineering time to run frontier-scale post-training.

Completely free and open source. The cost is the GPU cluster and the expertise to run it.

What to do by team size

Solo
Skip unless you have cluster access
Small team
Only if you are an ML infra team
Medium team
free; fits teams doing real post-training
Large team
free; built for exactly this scale
Self-hosting ops:heavy

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
74/100 · B+
Adoption17/30
Maintenance25/25
Community7/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Organization account (7 public repos)

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
RadixArk (Organization)
Stars
2,636
Forks
449

Explore Further

More tools in the directory