What AI infrastructure is and how it is built
AI infrastructure is the GPU servers, network, storage and software stack on which models are trained and run — inference. A GPU — a graphics processing unit — contains thousands of parallel cores and tensor cores for matrix operations; a CPU has few cores, but each one is general-purpose.
The same cluster can handle both, but the workloads on it differ:
- What limits it: training — compute and node-to-node exchange; inference — memory capacity and bandwidth for model weights and the KV cache.
- Scale: training — hundreds and thousands of GPUs for weeks; inference — from a single GPU around the clock.
- Network: training — collective all-reduce exchange over InfiniBand or RoCE; inference — client requests over Ethernet.
- Storage: training — datasets and checkpoints; inference — model weights.
The infrastructure layers stack up from the bottom:
- GPU — the compute unit with its own HBM (High Bandwidth Memory) memory.
- Node — a server with 8 GPUs linked by NVLink and NVSwitch, with CPUs, network cards and local NVMe drives.
- Cluster — tens and hundreds of nodes: the east-west network connects GPUs on different nodes, north-south — the management and storage networks.
- Storage — datasets, checkpoints and model weights.
The DGX SuperPOD reference architecture assembles a cluster from scale units (SU) of 32 DGX B200 nodes each, adds InfiniBand networks — separate ones for compute and for storage — plus management nodes and storage from certified partners. NVIDIA validates its own software on this same architecture before release.
Such clusters are built on HPC (High Performance Computing) principles — scientific and engineering computing with the Slurm scheduler and an InfiniBand network. DGX SuperPOD is designed for both AI and HPC.
The software stack reads from the bottom up: the kernel driver with the NVML library, the CUDA platform, the NCCL library of collective operations (NVIDIA Collective Communications Library), the PyTorch framework, an inference server and an API for applications.
CUDA is NVIDIA’s platform for computing on GPUs; the developer-facing part is the CUDA Toolkit, a set of libraries, headers and tools. What a particular GPU can do is set by its compute capability number.
The main takeaway: every layer depends on compatibility with the one below. The driver brings CUDA support, the framework is built against a CUDA version, the inference server against a framework version; that is why the stack is upgraded as a whole. How an upgrade goes is covered in the section “Operations: drivers, monitoring and MIG”.
The two bottom layers are visible to the nvidia-smi command — it queries the driver through NVML:
nvidia-smi \ --query-gpu=name,driver_version,memory.total \ --format=csvNVIDIA or AMD Instinct
The table is compiled from each vendor’s documentation: if a fact is not in its documentation, it is not in the table.
| Feature | NVIDIA B300 | AMD Instinct MI355X |
|---|---|---|
| Memory per GPU | 288 GB HBM3e | 288 GB HBM3e |
| Memory bandwidth | up to 8 TB/s | up to 8 TB/s |
| Form factor | SXM on an HGX board | OAM |
| Compute units | SM | 256 CU |
| Power and cooling | — | up to 1000 W with air cooling (MI350X), up to 1400 W with liquid cooling (MI355X) |
| Software stack | CUDA | ROCm |
What to know in advance
Sections of neighbouring references the material relies on:
- Command line, files and services — the Linux reference.
- Containers and images — the Docker reference.
- Pods, nodes and scheduling — the Kubernetes reference.
- Addressing, ports and TCP/IP — the TCP/IP and DNS reference.
- Models, tokens and prompts — the LLM and RAG reference.
Section sources
the section is written from these pages- Introduction — NVIDIA Data Center Driversdocs.nvidia.com/datacenter/tesla/drivers/latest/introduction.html(opens in a new tab)
- DGX SuperPOD Components — DGX SuperPOD Reference Architecture Featuring DGX B200docs.nvidia.com/dgx-superpod/reference-architecture-scalable-infrastructure-b200/latest/dgx-superpod-components.html(opens in a new tab)
- 1.3. The CUDA Platform — CUDA Programming Guidedocs.nvidia.com/cuda/cuda-programming-guide/01-introduction/cuda-platform.html(opens in a new tab)
- Components — NVIDIA HGX AI Factorydocs.nvidia.com/enterprise-reference-architectures/hgx-ai-factory/latest/components.html(opens in a new tab)
- AMD Instinct MI350 Series microarchitecture — AMD ROCmrocm.docs.amd.com/en/docs-10.1.0/reference/gpu-arch/mi350.html(opens in a new tab)