MetaBy Rajiv Krishnamurthy, Wes BlandExplainer
MTIA 300: Meta’s First Training Chip with Built-in NICs and Communication-Offloading Engines
Summary
MTIA 300 is Meta’s first in-house training and inference accelerator optimized for ranking and recommendation models. These workloads require frequent AllReduce, AllToAll, and AllGather operations because embedding tables can contain over 99% of model parameters, making communication a bottleneck that competes with computation on GPUs. Its package-integrated network uses two chiplets with twelve custom 800 Gbps RDMA NICs, while 16 message engines and near-memory compute handle collectives independently of the 12×6 processing-element grid. Co-designed HCCL compiles collectives into dependency-aware subgraphs for autonomous execution, with topology-aware algorithms spanning scale-up and scale-out links. In production, HCCL reaches up to 940 GB/s within a rack, and a 150-billion-parameter model across 40 accelerators completed communication 3.9 times faster than an equivalent GPU cluster; concurrent GEMMs degraded less than 0.5%.
Context
Recommendation models use embedding tables that can contain over 99% of model parameters, requiring hybrid parallelism and frequent communication collectives across hundreds of accelerators. On GPUs, these operations share resources with training computation, potentially leaving hardware underutilized and slowing both workloads.
Approach / What changed
MTIA 300 integrates twelve Ethernet-based RDMA NICs into the chip package, uses 16 dedicated message engines with near-memory compute for communication, and co-designs the HCCL library with the hardware. HCCL compiles collectives into dependency-aware subgraphs for autonomous device execution and selects topology-aware algorithms for scale-up and scale-out communication.
Takeaways
Two network chiplets provide twelve custom 800 Gbps RDMA NICs and 1.2 TB/s of total I/O bandwidth without crossing a PCIe bus.
Sixteen message engines independently execute communication, while near-memory compute provides more than 2.8 TB/s of reduction throughput and keeps collectives off the compute grid.
On a 150-billion-parameter production recommendation model using 40 accelerators, MTIA 300’s total communication time was 3.9 times faster than an equivalent GPU cluster; concurrent GEMMs lost less than 0.5% throughput.
Source and freshness
- Source
- engineering.fb.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.