Amazon EC2 Trn2 instances powered by AWS Trainium2 are designed for high-performance deep-learning training of generative AI model, including large language models, diffusion models, and diffusion models. They can save up to 50% on the cost of training compared to comparable Amazon EC2 Instances. Trn2 instances can support up to 16 Trainium2 accelerations, delivering up to 3 petaflops FP16/BF16 computing power and 512GB of high bandwidth memory. Trn2 instances support up to 1600 Gbps second-generation Elastic Fabric Adapter network bandwidth. NeuronLink is a high-speed nonblocking interconnect that facilitates efficient data and models parallelism. They are deployed as EC2 UltraClusters and can scale up to 30,000 Trainium2 processors interconnected by a nonblocking, petabit-scale, network, delivering six exaflops in compute performance. The AWS neuron SDK integrates with popular machine-learning frameworks such as PyTorch or TensorFlow.