2.1 Hardware for training workloads
What a training node provides: GPUs, GPU memory, local NVMe and fast networking.
Key points
A cache is fast, nearby storage that keeps a copy of data so it does not have to be fetched again over the network. The DGX SuperPOD reference architecture rates storage needs by workload. It puts NLP at the 'Good' level because NLP datasets generally fit within the local cache. Larger datasets, such as compressed images, push the requirement higher.
What NVIDIA says (2)
“Good Natural Language Processing (NLP) Datasets generally fit within local cache”
“Ideally, data is cached during the first read of the dataset, so data does not have to be retrieved across the network.”
GPU memory is the memory on the GPU itself. Model weights and intermediate values must fit in it during training. The DGX H100 user guide lists 8 x NVIDIA H100 GPUs that provide 640 GB total GPU memory. That is 80 GB per GPU. If a model needs more than that, it is split across GPUs, which is why the GPU-to-GPU link matters.
What NVIDIA says (2)
“The DGX H100/H200 systems are built on eight NVIDIA H100 Tensor Core GPUs or eight NVIDIA H200 Tensor Core GPUs.”
“For H100: 8 x NVIDIA H100 GPUs that provide 640 GB total GPU memory”
NVMe (Non-Volatile Memory Express) is a fast protocol for solid-state drives. A DGX H100 has a RAID 0 array of NVMe U.2 drives labeled as the data cache. The reference architecture says this local NVMe storage can be used for caching or staging data. Staging means copying data close to the GPUs before training starts.
What NVIDIA says (2)
“In addition, the DGX H100 system provides local NVMe storage that can also be used for caching or staging data.”
“Storage (Data Cache) 8 x 3.84 TB NVMe U.2 SED (ea) in RAID 0 array”
Storage needs depend on the model and the data. The reference architecture says computer vision cases with 1080p images, sometimes uncompressed, easily exceed 30 TB, and need about 4 GBps of read performance per GPU. Such a dataset will not fit in local cache, so the shared storage has to deliver it.
What NVIDIA says (2)
“Use cases in automotive and other computer vision-related tasks, where 1080p images are used for training (and in some cases are uncompressed) involve datasets that easily exceed 30 TB in size.”
“In these cases, 4 GBps per GPU for read performance is needed.”
Training re-reads the dataset every epoch. If the data fits in cache, re-reads are fast. The reference architecture notes that as datasets grow they may no longer fit in local cache, and that pairing such datasets with very fast GPUs can make maximum training performance hard to reach. The fix is storage sized for the workload, and tools such as GPUDirect Storage.
What NVIDIA says (2)
“Note As datasets get larger, they may no longer fit in cache on the local system.”
“Pairing large datasets that do not fit in cache with very fast GPUs can create a situation where it is difficult to achieve maximum training performance.”
Re-reading data is the main I/O pattern in training, but not the only one. The reference architecture says pure read performance is still important: some models, such as certain recommender models, train in a fraction of an epoch, and inference can be much more I/O intensive than training.
What NVIDIA says (1)
“Pure read performance still is important as some model types can train in a fraction of an epoch (ex: some recommender models) and inference of existing can be highly I/O intensive, much more so than training.”
The GPU architecture matters for which workloads train fastest. The reference architecture says the Hopper architecture in DGX H100 brings transformer engines and fourth-generation NVLink, which cut months of compute for some of the largest AI workloads down to days or hours. It also lists up to 32 petaFLOPS at FP8 precision per DGX H100 system.
What NVIDIA says (2)
“The NVIDIA Hopper GPU architecture provides latest technologies such as the transformer engines and fourthgeneration NVLink technology that brings months of computational effort down to days and hours, on some of the largest AI/ML workloads.”
“Up to 9X more performance with 32 petaFLOPS at FP8 precision.”
Caching keeps a nearby copy of data so it does not cross the network again. The reference architecture says shared filesystems typically use RAM as the first layer of cache, and that reading from cache can be an order of magnitude (about 10x) faster than from remote storage. DGX systems also have local NVMe drives for caching or staging data.
What NVIDIA says (2)
“Shared filesystems typically use RAM as the first layer of cache.”
“Reading files from cache can be an order of magnitude faster than from remote storage.”
Try it
Sample question
You are sizing storage for a natural language processing (NLP) training job on DGX H100 systems. What does the DGX SuperPOD reference architecture say about NLP datasets and the local cache?
Show the answer
Answer: NLP datasets generally fit within the local cache, so they sit at the 'Good' storage performance level.
A cache is fast, nearby storage that keeps a copy of data so it does not have to be fetched again over the network. The DGX SuperPOD reference architecture rates storage needs by workload. It puts NLP at the 'Good' level because NLP datasets generally fit within the local cache. Larger datasets, such as compressed images, push the requirement higher.
What NVIDIA says (2)
“Good Natural Language Processing (NLP) Datasets generally fit within local cache”
“Ideally, data is cached during the first read of the dataset, so data does not have to be retrieved across the network.”
Practice 2.1 (8 questions) Full AI Infrastructure guide
← 1.8 GPU vs CPU architecture · 2.2 Scaling GPU infrastructure →