Production fork of slime for enterprise RL training on massive MoE models. The real draw here is unified FP8 training and inference with bit-wise alignment between SGLang rollouts and Megatron training, which prevents the routing inconsistencies that kill MoE stability. Supports INT4 quantization-aware training (fit 1TB models on single H200s) and speculative RL with EAGLE for 25%+ rollout speedup. If you're training DeepSeek V3 or Qwen3-MoE scale models and need production stability over research flexibility, this is the tool. Includes Rollout Routing Replay to record and replay expert routing decisions, eliminating quantization-induced discrepancies that cause RL collapse.

skills.sh installs
1K
GitHub stars
14.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill miles-rl-training --agent claude-code

Installs into .claude/skills of the current project.

Files

miles: Enterprise-Grade RL for Large-Scale Model Training

miles is a high-performance, enterprise-ready RL framework optimized for large-scale model post-training. Built as a production fork of slime, it addresses critical challenges in MoE training stability, low-precision training, and train-inference alignment.

When to Use miles

Choose miles when you need:

  • Training 1TB+ MoE models (DeepSeek V3, Qwen3-MoE)
  • FP8 or INT4 quantization-aware training
  • Bit-wise identical train-inference alignment
  • Speculative RL for maximum throughput
  • Production stability with enterprise support

Consider alternatives when:

  • You want the research-grade original → use slime
  • You need flexible backend swapping → use verl
  • You want PyTorch-native abstractions → use torchforge

Key Features

Low-Precision Training

  • Unified FP8: End-to-end FP8 for both inference and training
  • INT4 QAT: 1TB models on single-machine VRAM (H200)
  • Rollout Routing Replay (R3): Bit-wise expert alignment for MoE

Sponsors

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI & Agent Building, Data Science & ML
First seen
Jun 3, 2026

More from orchestra-research/ai-research-skills

All 95
1orchestra-research avatarnnsight-remote-interpretabilityorchestra-research/ai-research-skillsProvides guidance for interpreting and manipulating neural network internals using nnsight with optional NDIF remote execution. Use when needing to run interpre1Kskills.sh installs
2orchestra-research avatarrwkv-architectureorchestra-research/ai-research-skillsRNN+Transformer hybrid with O(n) inference. Linear time, infinite context, no KV cache. Train like GPT (parallel), infer like RNN (sequential). Linux Foundation1Kskills.sh installs
3orchestra-research avatarskypilot-multi-cloud-orchestrationorchestra-research/ai-research-skillsMulti-cloud orchestration for ML workloads with automatic cost optimization. Use when you need to run training or batch jobs across multiple clouds, leverage sp1Kskills.sh installs
4orchestra-research avatarllavaorchestra-research/ai-research-skillsLarge Language and Vision Assistant. Enables visual instruction tuning and image-based conversations. Combines CLIP vision encoder with Vicuna/LLaMA language mo1Kskills.sh installs
5asyrafhussin avatartailwind-best-practicesasyrafhussin/agent-skillsTailwind CSS patterns and conventions. Use when writing responsive designs, implementing dark mode, creating reusable component styles, configuring Tailwind, or1Kskills.sh installs
6databricks avatardatabricks-jobsdatabricks/databricks-agent-skillsDevelop and deploy Lakeflow Jobs on Databricks via DABs, Python SDK, or the CLI. Use when creating data engineering jobs with notebooks, Python wheels, SQL, dbt1Kskills.sh installs