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.
AI:Self-Distilled Reasoning (SDR) prefills reasoning traces from the base Nova 2 Lite model into SFT datasets that lack them, aiming to keep reasoning and general math skills during fine-tuning.
AI:Google says its multi-agent AI system migrated large production models from TensorFlow to JAX about 6.4x to 8x faster than manual work, with engineers reviewing the output.