Enterprise RL Training (miles)

•
4.0k
•

Optimizes large-scale Reinforcement Learning training for Mixture-of-Experts models using high-performance quantization and speculative rollout techniques.

miles is an enterprise-grade RL framework designed for the post-training of massive models like DeepSeek V3 and Qwen3-MoE. It addresses critical scaling challenges by providing bit-wise train-inference alignment through Rollout Routing Replay (R3), unified FP8 pipelines, and speculative RL to increase throughput by up to 40%. This skill is essential for engineering teams training 1TB+ models who require production-ready stability, INT4 quantization-aware training to fit large models on limited VRAM, and deep integration with SGLang and Megatron-LM.

主要功能

01Speculative RL with EAGLE decoding to boost rollout throughput by 25%+
02Unified FP8 and INT4 quantization-aware training (QAT) for massive MoE models
03Zero-copy weight synchronization via CUDA IPC and partial rollout recycling
04Rollout Routing Replay (R3) for bit-wise expert alignment between inference and training
05Deep integration with SGLang, Megatron-LM, and FlashAttention-3
063,983 GitHub stars

使用场景

01Post-training 1TB+ Mixture-of-Experts (MoE) models like DeepSeek V3 or Qwen3-MoE
02Deploying and fine-tuning large-scale models on limited VRAM using INT4 quantization
03Optimizing RL training throughput using speculative decoding and online MTP training