TellWorldAI World Archive

Home›Compute

Chip

AWS Trainium

AWS Trainium is a chip built by Amazon Web Services for deep learning training, sold through EC2 Trn1 instances that AWS says cut training costs by up to 50% compared with comparable instances.

Type
AI accelerator
Developer
Amazon

A chip built for training

Training a large neural network is, at the hardware level, an enormous number of matrix multiplications repeated over and over on the same data path. General-purpose processors can do this work, but they spend much of their silicon on tasks that training does not need. Trainium is Amazon Web Services' own answer to that mismatch: a chip designed specifically for high-performance deep learning training[1]. It is one half of a pair — AWS positions Trainium for training and its Inferentia chips for running already-trained models, which is why the company usually quotes cost figures for the two together[2].

Instances and wiring

Trainium is not sold as a standalone card but through Amazon EC2. A `trn1.32xlarge` instance carries 16 Trainium chips and up to 800 Gbps of second-generation Elastic Fabric Adapter (EFA) networking, and a `trn1n.32xlarge` variant keeps the same 16 chips while raising EFA to 1,600 Gbps[1]. Inside a single instance, the chips talk to each other over NeuronLink, a high-bandwidth connection intended to keep the accelerators fed rather than waiting on data[1].

The networking emphasis follows from how training works. A model too large for one chip is split across many, and the chips must exchange gradients or activations after every step; the slower that exchange, the more expensive accelerators sit idle. Fast interconnects are therefore as much a part of a training system as the arithmetic units.

Scaling out

For jobs that outgrow a single instance, Trn1 instances are deployed in EC2 UltraClusters, which AWS says scale to 30,000 Trainium accelerators connected over a petabit-scale non-blocking network[1]. "Non-blocking" means the fabric is provisioned so that all nodes can communicate at full rate at once, instead of some traffic being held back when the network is busy — the property that makes very large training runs practical.

Programming model

Chips are only useful if existing model code can reach them. Trainium is programmed through the AWS Neuron SDK, the software layer through which developers compile and run their training workloads on the hardware[1]. In practice this layer decides how much of a model's work lands on the accelerators and how much coordination the developer has to do by hand.

The cost argument

AWS frames Trainium mainly as an economics story. The company says Trn1 instances offer up to 50% cost-to-train savings over comparable EC2 instances[1], and that Trainium and Inferentia together cut training costs by 50% and inference costs by 70% compared with general-purpose GPUs[2]. These are vendor figures, and real savings depend on the workload, on how well a model maps onto the hardware, and on what it is being compared against — but they state the case AWS is making: that dedicated silicon can be cheaper per unit of training work than general-purpose hardware.

Where it sits

Trainium belongs to a broader move by large cloud providers to design their own accelerators rather than buy everything off the shelf. For users, the practical questions are less about the chip than about the surrounding stack: which instance type fits a job, whether the interconnect can keep a large cluster busy, and whether the software toolchain supports the model they want to train. Trainium's design choices — a training-specific chip, very fast intra-instance links, cluster-scale deployment, and a dedicated SDK — are all aimed at those questions.

TechniquesDeep learning

ApplicationsEnterprise

Ecosystem & regionCloudHardware & compute

Developed by1

Amazon

Notes and sources

  1. What are accelerated computing EC2 instance types?https://aws.amazon.com/ec2/instance-types/accelerated-computing
  2. 什么是 AI 芯片(AI 加速器)?https://aws.amazon.com/cn/what-is/ai-accelerator

Cite this page: AWS Trainium. TellWorld, https://www.tellworld.net/compute/aws-trainium. Updated 2026-11-08