Introducing Tunix: A JAX-Native Library for LLM Post-Training- Google Developers Blog
Sep 30, 2025Srikanth Kilaru, Tianshu Bao

Summary
Introduces Tunix, a new open-source, JAX-native library for LLM post-training. Tunix provides trainers for Supervised Fine-Tuning (SFT) with LoRA/QLoRA support, Direct Preference Optimization (DPO), Proximal Policy Optimization (PPO), Group Relative Policy Optimization (GRPO), Group Sequence Policy Optimization (GSPO-token), and knowledge distillation (logit-based and attention transfer). It is designed for performance on TPUs, integrates with MaxText, and offers a customizable 'white-box' design. Quantitative results demonstrate ~12% relative improvement in pass@1 accuracy on GSM8K using Gemma 2 2B-IT with GRPO.
More from the Google Developer Platform trail
- Autonomous LLM post-training with Tunix on TPUs- Google Developers Blog
- HeyGen x Google Cloud: Bringing Avatar IV to TPUs- Google Developers Blog
- Run Ray on TPU, Part 2: Ray AI libraries- Google Developers Blog
- Scaling Agentic RL: High-Throughput Agentic Training with Tunix- Google Developers Blog
- Run Ray on TPU, Part 1: The foundations- Google Developers Blog