Jaxformer is a minimal Salesforce library for training large language models in JAX on TPUs. It combines data parallelism and model parallelism through pjit(). section 12.1.2
Jaxformer fits when you want:
- A focused JAX-based starting point for TPU language-model training. section 12.1.2
- Both data and model parallelism rather than single-device training alone. section 12.1.2
