Llama 3's Record-Breaking Training Scale
Meta's Llama 3 was trained on an unprecedented scale, utilizing 24,000 GPUs (with a peak of 16,000 concurrently) and processing over 15 trillion tokens, a substantial increase from its predecessor, Llama 2.
The top 3
- Llama 3's Training Scale: A 50x Leap from Llama 2: The flagship Llama 3 model was pre-trained using 3.8 × 10^25 FLOPs, nearly 50 times more compute than the largest Llama 2 version, and on over 15 trillion tokens—seven times Llama 2's dataset.
- Over $720 Million: Llama 3's Staggering Training Hardware Cost: Training Meta's Llama 3 on 24,000 Nvidia H100 GPUs alone is estimated to have cost over $720 million in hardware, with total costs potentially exceeding $1 billion, including more than $50 million for post-training alignment.
- Beyond Brute Force: Llama 3's Key Architectural Enhancements: Llama 3 achieved its record training scale and performance through architectural innovations like a 128,000-token vocabulary (four times larger than Llama 2's), the implementation of Grouped Query Attention (GQA) across all models for inference efficiency, and advanced data filtering pipelines that even utilized Llama 2 to generate synthetic data for quality classifiers.
Sources
Open the full topic