17. AI Infrastructure#
AI workloads place new demands on compute, platforms, and budgets. This chapter explains the hardware behind AI, compares cloud AI services and open models, and gives IT a structured way to decide whether to build, buy, or combine.
Compute: GPUs and other accelerators set the capacity, speed, and cost of AI workloads.
AI Platforms: Cloud AI services and open models offer different mixes of capability, control, and lock-in.
Build or Buy: Total cost of ownership and exit plans guide infrastructure decisions.
Chapter Video
This report compares GPUs with the custom AI chips built by Google and Amazon, the accelerators that set the capacity and cost of AI workloads.
How Nvidia GPUs Compare To Google’s And Amazon’s AI Chips (15:59) by CNBC
Hosted on YouTube; property of its original creator, embedded here for educational reference only.
Learning Objectives
By the end of this chapter, you will be able to:
Explain why AI workloads use GPUs and other accelerators.
Estimate compute capacity for an inference workload.
Compare cloud AI services, open models, and vendor lock-in risks.
Calculate total cost of ownership for build, buy, and hybrid options.
Compare hosting options with a cost model in Python.
Chapter Flow
Glossary
# |
Term |
Explanation |
|---|---|---|
1 |
Graphics processing unit (GPU) |
A processor with many parallel cores, widely used for AI training and inference. |
2 |
Accelerator |
Specialized hardware designed to speed up AI computation. |
3 |
Throughput |
The amount of work a system completes per unit of time, such as tokens per second. |
4 |
Capacity planning |
Estimating the resources needed to meet expected demand. |
5 |
Quantization |
Storing model weights with fewer bits to reduce memory and speed up inference. |
6 |
Cloud AI service |
A managed AI capability offered by a cloud provider. |
7 |
Open model |
A model whose weights can be downloaded and run independently. |
8 |
Vendor lock-in |
Dependence on one provider that makes switching costly. |
9 |
Total cost of ownership (TCO) |
All costs of a solution over its life, including setup, operation, and staff. |
10 |
Make-or-buy decision |
Choosing between building a capability in house and acquiring it. |
11 |
Exit plan |
A prepared approach for leaving a vendor or platform. |
12 |
Infrastructure as code |
Managing infrastructure through versioned configuration files. |
13 |
Weight-memory lower bound |
Storage for parameters before runtime overhead. |
14 |
Planning utilization |
A target leaving capacity headroom. |
15 |
Failover capacity |
Resources retained for an agreed failure condition. |
16 |
Platform constraint |
A required condition that excludes unsuitable options. |
17 |
Weighted score |
A preference summary on stated scales. |
18 |
Exit artifact |
A source, configuration, or record needed for migration. |
19 |
Affine cost model |
A fixed component plus volume times a variable component. |
20 |
Break-even volume |
A valid crossing of two planning cost functions. |
21 |
Break-even point |
An input level at which two specified cost functions are equal. |