AI Training with Amazon EC2 Trn2 Instances Powered by AWS Trainium2 (re:Invent 2024, CMP333)
Original title AWS Trainium2 for breakthrough AI training and inference performance
Amazon Web Services
AWS re:Invent 2024 session slides covering Trainium2 server hardware (16 chips, 20.8 PFLOPS dense, 1.5 TB HBM, 46 TB/s) and the two-rack UltraServer (83.2 PFLOPS).
On this page
Overview
The document is the slide deck of session CMP333 at AWS re:Invent 2024, presented by Amazon, Anthropic and AWS engineers. It covers the growth of AI model scale (1.76 trillion parameters for GPT-4) and the compute needed to train at that scale, then introduces the AWS Trainium2 chip, Trn2 EC2 instances and the Trn2 UltraServer. As slides, the text is short and product-focused.
For the Trainium2 chip the deck gives 1.3 PFLOPS dense and 5.2 PFLOPS sparse compute, 96 GB of HBM and 2.9 TB/s of HBM bandwidth. The trn2.48xlarge instance offers 16 chips, 20.8 PFLOPS dense (83.2 PFLOPS sparse), 1.5 TB of HBM, 46 TB/s of HBM bandwidth, 192 vCPUs, 2 TB of memory, 4 x 1.92 TB NVMe, 1 TB/s of NeuronLink and 3.2 Tb/s of EFAv3.
The UltraServer joins two racks and four servers over NeuronLink-v3: 83.2 PFLOPS dense and 332.8 PFLOPS sparse compute, 6 TB of HBM, 185 TB/s of HBM bandwidth, 2 TB/s of NeuronLink and 12.8 Tb/s of EFAv3. The network is described as petabit-scale with under 10 microseconds of latency, in UltraClusters of up to 60 thousand chips.
Directly usable data for a facility designer is limited: the deck gives no power or heat load (kW). Its headings on vertical power delivery, modular design with fewer cables and components, and a simple cooling solution do point to manufacturing and layout choices. Performance comparisons (for example 1.5x faster and 1.7x lower cost to train Fuji 70B against P5 instances) are the vendor's own data.
Key points
- Trainium2 chip: 1.3 PFLOPS dense, 5.2 PFLOPS sparse, 96 GB HBM, 2.9 TB/s HBM bandwidth.
- trn2.48xlarge: 16 chips, 20.8 PFLOPS dense, 1.5 TB HBM, 46 TB/s, 192 vCPUs, 2 TB memory, 3.2 Tb/s EFAv3.
- Trn2 UltraServer: 2 racks, 4 servers, 83.2 PFLOPS dense, 6 TB HBM, 185 TB/s, 12.8 Tb/s EFAv3.
- The network fabric joins up to 60 thousand Trainium2 chips in petabit-scale, non-blocking UltraClusters.
- On Fuji 70B training, step time drops from 12.9 to 8.7 against P5 (1.5x faster) and cost to train falls 1.7x (JAX/AXLearn, 64 nodes).
- Trainium2 uses vertical power delivery, reducing voltage deviation during load transitions compared with Trainium1's lateral delivery.
- The design is modular, with fewer cables and components, and uses a simple cooling solution.
- Project Rainier: hundreds of thousands of Trainium2 chips, 5x the compute of Anthropic's previous largest training cluster.
Using it in design
- Because the deck gives no power or heat load, obtain kW and cooling data from the vendor for capacity planning; do not derive facility load from PFLOPS.
- Carry close-coupling needs such as the two-rack UltraServer and 1 TB/s NeuronLink into adjacent rack placement and cable length limits.
- When planning network capacity take EFAv3 bandwidth as 3.2 Tb/s per server and 12.8 Tb/s per UltraServer.
- For clusters at the 60 thousand chip scale, make feeders, UPS and cooling modules expandable in unit blocks.
- Verify vendor performance claims with independent measurement.
Who should read it
Data-centre architects, capacity planners and procurement engineers planning AI training infrastructure.
Document contents
- AWS AI Infrastructure and AI Chips
- Model Scaling: What Is Next
- Amazon EC2 Trn2 Instances
- Trainium2 Chip and Server
- Trn2 UltraServer
- Energy Efficient Compute and Power Delivery
- Manufacturing at Scale
- Neuron SDK Software Stack
Publication details
- Authors
- Amazon Web Services
- Publisher
- Amazon Web Services
- Year
- 2024
- Document number
- CMP333-NEW
- Document language
- Unverified
- Source type
- Manufacturer
- Access
- Free to read
- Licence
- Copyright retained; citation only: the publisher’s terms apply to the original document
Original licence note
No document-specific redistribution permission was established. Bibliographic reference only.
Citation
Amazon Web Services (2024). AWS Trainium2 for breakthrough AI training and inference performance. Amazon Web Services. CMP333-NEW. https://d1.awsstatic.com/onedam/marketing-channels/website/aws/en_US/events/approved/reinvent-2025/reinvent/2024/slides/cmp/CMP333-NEW_AWS-Trainium2-for-breakthrough-AI-training-and-inference-performance.pdf
All content and rights belong to the respective authors and publishers. SoSo CAD provides only the citation, its own summary and a link to the source, and is not responsible for the sources' content.
