Jet-RL: Enabling On-Policy FP8 Reinforcement Learning with Unified Training and Rollout Precision Flow
Haocheng Xi, Charlie Ruan, Peiyuan Liao, Yujun Lin, Han Cai, Yilong Zhao, Shuo Yang, Kurt Keutzer, Song Han, Ligeng Zhu
TL;DR
This work tackles the rollout bottleneck in on-policy RL for large language models by identifying training-rollout precision mismatch as a key source of instability when using FP8 in rollout. It introduces Jet-RL, a unified FP8 precision flow that aligns training and rollout, along with a mixed granularity FP8 GEMM design and implementation that leverages FP8 kernels to accelerate end-to-end RL training. The approach yields robust convergence across multiple models and tasks, achieving up to 33% rollout speedup, 41% training speedup, and 16% end-to-end speedup with minimal accuracy loss compared to BF16 baselines. Overall, Jet-RL demonstrates that on-policy FP8 RL can be both faster and more stable, enabling scalable, efficient reasoning in large language models.
Abstract
Reinforcement learning (RL) is essential for enhancing the complex reasoning capabilities of large language models (LLMs). However, existing RL training pipelines are computationally inefficient and resource-intensive, with the rollout phase accounting for over 70% of total training time. Quantized RL training, particularly using FP8 precision, offers a promising approach to mitigating this bottleneck. A commonly adopted strategy applies FP8 precision during rollout while retaining BF16 precision for training. In this work, we present the first comprehensive study of FP8 RL training and demonstrate that the widely used BF16-training + FP8-rollout strategy suffers from severe training instability and catastrophic accuracy collapse under long-horizon rollouts and challenging tasks. Our analysis shows that these failures stem from the off-policy nature of the approach, which introduces substantial numerical mismatch between training and inference. Motivated by these observations, we propose Jet-RL, an FP8 RL training framework that enables robust and stable RL optimization. The key idea is to adopt a unified FP8 precision flow for both training and rollout, thereby minimizing numerical discrepancies and eliminating the need for inefficient inter-step calibration. Extensive experiments validate the effectiveness of Jet-RL: our method achieves up to 33% speedup in the rollout phase, up to 41% speedup in the training phase, and a 16% end-to-end speedup over BF16 training, while maintaining stable convergence across all settings and incurring negligible accuracy degradation.
