
2/3/2026 · Wei Wei
What this post added
This post introduces Tunix, a JAX-based library for LLM post-training, and demonstrates its use for fine-tuning FunctionGemma on Google TPUs. It details the process of setting up the JAX mesh, applying LoRA adapters with Qwix, creating a custom dataset for completion-only loss, and initiating the training process. The post highlights Tunix's efficient TPU utilization and the resulting accuracy improvements, concluding with instructions for merging LoRA adapters and exporting the fine-tuned model.