服务 · Compute
AWS Trainium, AWS Inferentia and GPU instances
AWS Trainium and AWS Inferentia are AWS-designed AI chips. GPU instances are the general choice.
本课尚未翻译,暂以英文显示。
AWS Trainium
- Used for
- Training models
- Clue in a question
- Lower cost to train
AWS Inferentia
- Used for
- Inference: running models
- Clue in a question
- Low cost, high throughput
GPU instances on EC2
- Used for
- Training and inference
- Clue in a question
- Broad software support
| Chip | Used for | Clue in a question |
|---|---|---|
| AWS Trainium | Training models | Lower cost to train |
| AWS Inferentia | Inference: running models | Low cost, high throughput |
| GPU instances on EC2 | Training and inference | Broad software support |
是什么
Training and running large models needs special chips. AWS designs two of its own. AWS Trainium is built to train models. AWS Inferentia is built for inference, which means running a model to give answers. Both aim for good performance at a lower cost.
You use them on Amazon EC2 instances and in services such as Amazon SageMaker AI, with the AWS Neuron SDK. GPU instances on Amazon EC2 are the general choice for accelerated computing. They run the widest range of AI software, for training and inference. AWS says its purpose-built chips use less energy for the same work, which supports sustainability goals.
是什么
With Amazon Bedrock you never pick a chip. The choice matters when you host models yourself.
要记住
- AWS Trainium: trains models at a lower cost.
- AWS Inferentia: runs inference with low cost and high throughput.
- GPU instances on Amazon EC2: general accelerated computing, broad software support.
- Both AWS chips are programmed with the AWS Neuron SDK.
- AWS reports lower energy use for its purpose-built chips.
要记住
- Amazon Bedrock hides the hardware from you.
考试中
- “Chip built to train large models at lower cost” points to AWS Trainium.
- “Chip built for low-cost inference” points to AWS Inferentia.
- “General purpose accelerated instances for many AI frameworks” points to GPU instances on Amazon EC2.
别和这些弄混
- Compute for AI applicationsWhere your own code and models run: Amazon EC2, AWS Lambda, containers, or a managed endpoint.
Amazon BedrockA fully managed service that gives you foundation models from several providers through one API.
Amazon SageMaker AIBuild, train and deploy your own machine learning models on managed infrastructure.