AI Cloud Architect

Introducing Tunix: A JAX-Native Library for LLM Post-Training

GoogleAnnouncement by Srikanth Kilaru and Tianshu BaoGoogle Developers Blog

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Tunix is a new open-source JAX-native library offering SFT, DPO, PPO, GRPO, GSPO and distillation trainers for post-training LLMs, with Google reporting a ~12% relative gain for Gemma 2 2B-IT on GSM8K.

Who it is for

JAX and TPU teams post-training open models who want a customizable training loop instead of heavy abstraction layers.

Key points

  • Installable from PyPI as google-tunix; examples cover several open-source models.
  • Gain figure is a Google-reported result on GSM8K with pass@1 accuracy, measured on Google's own setup.

Timeline

Posts about Tunix, oldest first.

  1. This postIntroducing Tunix: A JAX-Native Library for LLM Post-Training
  2. Read nextBuilding production AI on Google Cloud TPUs with JAX · Google · Announcement
  3. Listed inAgent Factory Recap: Reinforcement Learning and Fine-Tuning on TPUs · Google · Video
  4. Explained inEasy FunctionGemma finetuning with Tunix on Google TPUs · Google · How-to
  5. Read nextMaxText Expands Post-Training Capabilities: Introducing SFT and RL on Single-Host TPUs · Google · Announcement
  6. Explained inHow the community trained Gemma to "Think" with Tunix and TPUs · Google · Blog post
  7. Blog postScaling Agentic RL: High-Throughput Agentic Training with Tunix · Google · Blog post
  8. How-toAutonomous LLM post-training with Tunix on TPUs · Google · How-to
  9. Read nextUnlocking Stable On-Policy RL on TPU with Bitwise-Zero Train–Inference Mismatch · Google · How-to
Show all 10 posts
  1. This postIntroducing Tunix: A JAX-Native Library for LLM Post-Training
  2. Read nextBuilding production AI on Google Cloud TPUs with JAX · Google · Announcement
  3. Listed inAgent Factory Recap: Reinforcement Learning and Fine-Tuning on TPUs · Google · Video
  4. Explained inEasy FunctionGemma finetuning with Tunix on Google TPUs · Google · How-to
  5. Read nextMaxText Expands Post-Training Capabilities: Introducing SFT and RL on Single-Host TPUs · Google · Announcement
  6. Explained inHow the community trained Gemma to "Think" with Tunix and TPUs · Google · Blog post
  7. Blog postScaling Agentic RL: High-Throughput Agentic Training with Tunix · Google · Blog post
  8. How-toAutonomous LLM post-training with Tunix on TPUs · Google · How-to
  9. Read nextUnlocking Stable On-Policy RL on TPU with Bitwise-Zero Train–Inference Mismatch · Google · How-to
  10. Read nextMulti-Turn Agentic Reinforcement Learning with Tunix and Gemma 4 on Google TPUs · Google · How-to

Go deeper