Need to train or serve a large language model without writing distributed-training plumbing? EasyLM is a JAX/Flax library that covers pretraining, fine-tuning, evaluation, and serving. It hides much of model and data parallelism while keeping core training and inference details available for customization. section 12.1.2
EasyLM is useful when you want to:
- Scale training to hundreds of TPU or GPU accelerators through JAX pjit, without writing complicated distributed-training code. section 12.1.2
- Customize LLM training and inference while retaining access to their essential implementation details. section 12.1.2
- Move from training to deployment using provided pretraining and serving scripts. section 12.1.2
Concrete scale targets
The distribution includes an example for pretraining a 7B LLaMA model on a TPU v4-512 pod and another for serving a pretrained LLaMA model on a GPU machine or single TPU v3-8 VM. section 12.1.2
