Share E-Book

NVIDIA GPU Infrastructure Fundamentals A structured guide to NVIDIA GPU infrastructure, from CUDA to production operations (Aranha, Vivian) (z-library.sk, 1lib.sk, z-lib.sk)

Author

,

Rating 3.5 AI initial rating

Log in to rate

Code
Language English

No Description

Format PDF
Size 5.6 MB
(First 20 pages)

Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Page 1
Distinguish AI, machine learning, and deep learning Explain why GPUs accelerate modern AI workloads Match NVIDIA GPUs to training and inference requirements Select MIG or vGPU for common resource-sharing scenarios Compare Ethernet and InfiniBand for distributed AI workloads Map MLOps tools to the right stage of the AI lifecycle Differentiate ONNX, TensorRT, and Triton in inference workflows Trace GPU cluster issues across platform layers WHAT YOU WILL LEARN NVIDIA GPU infrastructure spans hardware, system software, networking, storage, orchestration, MLOps, and inference. Understanding how these components fi t together, where their responsibilities overlap, and which distinctions matt er requires a clear, structured path. This book provides that path through one coherent narrative of the NVIDIA GPU infrastructure stack. It covers accelerated computing, CUDA, and the NVIDIA software ecosystem before comparing data center GPUs against workload characteristics. You will examine MIG, vGPU, and DCGM for resource sharing and monitoring; Kubernetes and Slurm for GPU scheduling; and the networking and storage layer, including Ethernet, Infi niBand, RDMA, GPUDirect Storage, BlueField DPUs, and DOCA. Later chapters connect infrastructure to the AI lifecycle through Airfl ow, MLfl ow, and Kubefl ow for MLOps, NGC for software delivery, and ONNX, TensorRT, and Triton for inference. You will also explore the Kubernetes components, monitoring technologies, scaling considerations, and diagnostic concepts that support production GPU clusters. By connecting these technologies instead of presenting them as isolated products, the book helps you compare platform choices, understand component boundaries, discuss trade-off s, and develop a durable mental model of NVIDIA GPU infrastructure. NVIDIA GPU Infrastructure Fundamentals Get a free PDF of this book packtpub.com/unlock/9781808087493 N V ID IA G P U In fra stru ctu re F u n d a m e n ta ls V iv ia n A ra n h a
Page 2
NVIDIA GPU Infrastructure Fundamentals A structured guide to NVIDIA GPU infrastructure, from CUDA to production operations Vivian Aranha
Page 3
NVIDIA GPU Infrastructure Fundamentals Copyright © 2025 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. Portfolio Director: Kartikey Pandey Relationship Lead: Prachi Rana Project Manager: Sonam Pandey Content Engineer: Apramit Bhattacharya Technical Editor: Aysha Nadeem Indexer: Pratik Shirodkar Production Designer: Salma Patel Growth Lead: Vikramaditya Viswanath First published: August 2026 Production reference: 1250826 Published by Packt Publishing Ltd. Grosvenor House 11 St Paul's Square Birmingham B3 1RB, UK. ISBN 978-1-80808-749-3 www.packtpub.com
Page 4
About the author Vivian Aranha is an AI leader and technical educator who leads School of AI, a global learning platform offering more than 80 courses across generative AI, AI product management, quantum computing, cloud technologies, and related fields. Since April 2025, the platform has recorded over 1.5 million enrollments and reached more than 350,000 students. During more than eight years at Delta Air Lines, he has contributed to enterprise AI strategy and digital transformation initiatives. He also works with HeyGen as an AI Pioneer, focusing on AI-driven video innovation. Through curriculum design, video production, and interactive labs, Vivian is committed to making high-quality technical education accessible and helping the next generation of technology professionals develop practical AI skills.
Page 5
(This page has no text content)
Page 6
Table of Contents Preface xiii Free benefits with your book .................................................................................................. xix Part 1: Foundations of Accelerated AI Infrastructure 1 Chapter 1: Understanding AI Workloads and Accelerated Computing 3 AI, machine learning, and deep learning ................................................................................... 4 Artificial intelligence is the broadest category • 4 Machine learning as data-driven pattern discovery • 6 Deep learning and layered neural networks • 7 Reading the hierarchy as an infrastructure professional • 8 Why AI has advanced so rapidly • 9 Why GPUs power modern AI ................................................................................................... 10 Sequential control and parallel computation • 10 Why tensors and matrix operations map well to GPUs • 11 Specialized acceleration in the NVIDIA platform • 13 The CPU, GPU, and DPU as complementary processors • 14 AI workloads in the data center ................................................................................................ 15 Computer vision • 16 Natural language processing • 17 Predictive analytics • 17 Recommendation systems • 18 Matching workload characteristics to resources • 18 Summary ................................................................................................................................. 21 Chapter review questions ......................................................................................................... 21 Answer key and explanations • 23 Chapter 2: CUDA and the NVIDIA AI Software Stack 25 The CUDA programming model .............................................................................................. 26
Page 7
From graphics processor to general-purpose accelerator • 26 Threads, blocks, and grids • 26 CUDA in training and inference • 29 How AI frameworks use CUDA • 30 CUDA libraries and development tools .................................................................................... 32 cuDNN for deep neural network primitives • 32 cuBLAS and matrix computation • 32 Tensor Cores and mixed precision • 34 Nsight tools for profiling and debugging • 36 CUDA Graphs and launch overhead • 37 The NVIDIA AI stack from hardware to deployment ................................................................ 38 Hardware and interconnect foundations • 39 Drivers, CUDA, and system software • 39 Optimized libraries, SDKs, and frameworks • 39 NGC as a source of optimized assets • 40 Triton, TensorRT, and DeepStream in production • 40 Reading the stack as one operational system • 41 Summary ................................................................................................................................ 42 Chapter review questions ........................................................................................................ 43 Answer key and explanations • 45 Chapter 3: NVIDIA GPU Architecture and Platform Selection 47 Inside a data center GPU ......................................................................................................... 48 Streaming multiprocessors as execution engines • 50 Tensor Cores for matrix-heavy AI • 51 NVLink and multi-GPU communication • 53 Comparing the A100, H100, L40S, and B200 .......................................................................... 55 A100: A mature general-purpose AI accelerator • 56 H100: Hopper architecture for large-scale AI • 56 L40S: Enterprise inference and visual computing • 57 B200: Blackwell for next-generation generative AI • 57 Matching GPU capabilities to workloads ................................................................................ 59 Start with training or inference • 60 Evaluate model and memory requirements • 60 Consider precision and software optimization • 62 Table of Contents vi
Page 8
Account for interconnect, graphics, and tenancy • 62 Summary ................................................................................................................................ 65 Chapter review questions ........................................................................................................ 65 Answer key and explanations • 67 Part 2: Building and Operating GPU Infrastructure 69 Chapter 4: Sharing, Monitoring, and Scheduling GPU Resources 71 Partitioning GPUs with MIG .................................................................................................... 72 Why GPU partitioning is needed • 72 Hardware-isolated GPU instances • 73 Understanding MIG profiles • 74 MIG in multi-tenant and inference environments • 76 Operating GPU fleets with DCGM ........................................................................................... 78 DCGM components and operating model • 78 Telemetry for utilization and capacity planning • 79 Health checks, errors, and policy • 81 Working with the dcgmi command-line interface • 82 DCGM in Kubernetes and automation workflows • 82 Observability and workload scheduling .................................................................................. 83 Prometheus and Grafana for GPU observability • 83 Scheduling GPUs with Kubernetes • 84 Scheduling batch and research workloads with Slurm • 85 Bringing monitoring and scheduling together • 86 Summary ............................................................................................................................... 88 Chapter review questions ........................................................................................................ 89 Answer key and explanations • 90 Chapter 5: Building High-Throughput Storage and Network Paths 93 GPU-accelerated storage ......................................................................................................... 94 The traditional CPU-centered data path • 94 Moving data closer to the GPU • 96 Operational benefits of an accelerated storage path • 97 Technologies that support GPU-accelerated storage • 99 Choosing Ethernet or InfiniBand ............................................................................................ 99 vii Table of Contents
Page 9
Why distributed AI is sensitive to the network • 100 Ethernet for compatibility and flexibility • 101 InfiniBand for high-performance AI and HPC • 102 Hybrid network designs • 102 GPUDirect Storage and RDMA ............................................................................................... 105 The cost of copies and CPU involvement • 105 Remote Direct Memory Access • 106 How GPUDirect Storage changes the I/O path • 107 Compatibility and deployment requirements • 109 Workloads that benefit most • 110 Summary ................................................................................................................................ 111 Chapter review questions ....................................................................................................... 112 Answer key and explanations • 114 Chapter 6: Virtualized GPU Infrastructure and DPU Offload 115 NVIDIA vGPU and multi-tenancy ........................................................................................... 116 Why virtualize GPU resources • 116 The NVIDIA vGPU software platform • 117 Isolation, quotas, and service delivery • 119 Common vGPU use cases • 120 Choosing between MIG and vGPU .......................................................................................... 121 Hardware partitioning with MIG • 121 Hypervisor-based sharing with vGPU • 122 Scenario-based selection • 124 DPUs and NVIDIA BlueField .................................................................................................. 126 The DPU as an infrastructure processor • 126 BlueField architecture and capabilities • 128 Programming the data plane with DOCA • 129 Offloading networking, storage, and security • 129 BlueField in secure, multi-tenant AI infrastructure • 130 Summary ............................................................................................................................... 132 Chapter review questions ....................................................................................................... 133 Answer key and explanations • 135 Table of Contents viii
Page 10
Part 3: Production AI Platforms and Exam Readiness 137 Chapter 7: Operating the AI Lifecycle with MLOps and Inference 139 Moving an AI project from development to monitoring ........................................................ 140 The lifecycle as an iterative operating model • 142 Development: Fast and controlled experimentation • 142 Training: Scaling compute and preserving evidence • 143 Deployment: turning an artifact into a service • 143 Monitoring: reliability, drift, and feedback • 144 Building reproducible workflows with Airflow, MLflow, and Kubeflow ............................... 146 MLOps as an operational discipline • 147 Apache Airflow for task orchestration • 148 MLflow for experiments and the model registry • 149 Kubeflow for Kubernetes-based ML pipelines • 151 Combining the tools in one production workflow • 152 Serving and optimizing models with Triton, ONNX, and TensorRT ....................................... 153 Triton as a unified inference runtime • 154 Dynamic batching, concurrency, and model ensembles • 155 The model repository, versioning, and observability • 155 ONNX as the portability layer • 156 TensorRT for GPU-optimized inference • 157 The complete path from training to production inference • 157 Summary .............................................................................................................................. 158 Chapter review questions ....................................................................................................... 159 Answer key and explanations ................................................................................................. 161 Chapter 8: Delivering and Operating NVIDIA AI Platforms 163 Packaging and deploying AI software with NGC ................................................................... 164 NGC as a full-stack delivery platform • 165 Containers as tested software environments • 166 Models, scripts, and resources for faster iteration • 167 Helm charts for repeatable Kubernetes deployment • 167 Enterprise controls and private delivery workflows • 168 Orchestrating GPU infrastructure with Kubernetes and NVIDIA tools .................................. 169 ix Table of Contents
Page 11
The cloud-native GPU operating model • 170 Container Toolkit and device plugin • 172 GPU Operator and DCGM exporter • 172 GPU-aware scheduling and multi-tenant isolation • 173 Helm, CI/CD, autoscaling, and safe rollouts • 174 BlueField and DOCA in a cloud-native platform • 175 Scaling and troubleshooting GPU clusters ............................................................................. 176 NVLink and NVSwitch as the local GPU fabric • 177 From a GPU server to a managed cluster • 178 Topology-aware scheduling and performance baselines • 179 Recognizing common failure patterns • 179 The diagnostic toolchain • 180 Container and Kubernetes failure paths • 181 Preventive operations and release validation • 182 Summary .............................................................................................................................. 182 Chapter review questions ...................................................................................................... 183 Answer key and explanations • 185 Chapter 9: Preparing for the NCA-AIIO Exam and the Next Step 187 Reading exam questions with operational context ................................................................ 188 Critical words that change the answer • 189 Context signals and technology boundaries • 189 Familiar is not the same as correct • 189 Separating host, container, and orchestrator responsibilities • 190 Definition, scenario, diagram, and output questions • 190 Practicing recall and scenario reasoning ................................................................................ 191 Container GPU access as a boundary problem • 192 MIG as an isolation and utilization answer • 192 Driver and CUDA compatibility • 193 Dynamic batching and inference efficiency • 193 GPU Operator as a cluster-management answer • 194 Flashcards, spaced review, and teach-back • 194 Managing exam time and completing the certification journey ............................................. 195 The three-pass method • 196 Pacing, review, and first instincts • 196 Table of Contents x
Page 12
Maintaining focus under pressure • 197 Registration and test-day readiness • 197 Using the certification as a launch point • 198 Summary .............................................................................................................................. 198 Chapter 10: Unlock Your Exclusive Benefits 201 Unlock this Book's Free Benefits in 3 Easy Steps .................................................................... 202 Other Books You May Enjoy 206 Index 209 xi Table of Contents
Page 13
(This page has no text content)
Page 14
Preface AI infrastructure is no longer defined by the GPU alone. Modern accelerated platforms combine GPU hardware with system software, high-speed networking, storage, orchestration, monitoring, virtualization, MLOps, and inference technologies. Each layer solves a different part of the problem, but the real challenge for infrastructure professionals is understanding how those layers interact and where the responsibility of one technology ends and another begins. The NVIDIA ecosystem reflects this breadth. CUDA provides the foundation for GPU- accelerated computing, while technologies such as Tensor Cores, NVLink, and NVSwitch influence how workloads execute and scale. MIG and vGPU provide different approaches to sharing accelerator resources, DCGM supports GPU monitoring and management, and Kubernetes and Slurm provide different scheduling models. Beyond the GPU itself, technologies such as InfiniBand, RDMA, GPUDirect Storage, BlueField DPUs, and DOCA shape how data moves through the platform. At the application and operations layers, tools such as NGC, Airflow, MLflow, Kubeflow, ONNX, TensorRT, and Triton help move AI workloads from development into production. With so many technologies involved, learning them as a catalogue of individual products is rarely enough. An infrastructure decision usually depends on the workload and the boundary at which a problem occurs. A requirement for hardware-isolated GPU resources is different from a requirement for GPU-enabled virtual machines. A model that is starved for input data needs a different response from one that is compute-bound. A container that cannot access a GPU presents a different problem from a pod that cannot be scheduled or an inference service that has poor throughput. Understanding these distinctions is what turns product knowledge into useful infrastructure judgment. This book presents NVIDIA GPU infrastructure as one connected system. It begins with the foundations of AI workloads and accelerated computing before introducing CUDA and the NVIDIA software stack. You will then examine the architecture and characteristics of NVIDIA data center GPUs and learn how workload requirements influence platform selection. From there, the book moves into the operational layers surrounding the accelerator, including GPU partitioning, monitoring, scheduling, storage, networking, virtualization, and DPU-based infrastructure offload. The later chapters connect this infrastructure to the AI lifecycle. You will see how Airflow, MLflow, and Kubeflow support reproducible machine learning workflows; how ONNX,
Page 15
TensorRT, and Triton serve different roles in production inference; and how NGC, Kubernetes, the NVIDIA Container Toolkit, GPU Operator, and monitoring technologies combine into an operable GPU platform. Troubleshooting scenarios throughout the book reinforce the idea that infrastructure should be investigated as a set of connected layers rather than as isolated components. The aim is not to make you memorize every NVIDIA product or specification. GPU generations, software versions, and platform capabilities will continue to evolve. Instead, this book focuses on the more durable knowledge: what each technology is designed to do, how it relates to the surrounding stack, what trade-offs distinguish similar technologies, and how to reason from a workload requirement or operational symptom to an appropriate infrastructure response. By the end of the book, you should have a structured mental model that allows you to discuss, evaluate, and work with NVIDIA GPU infrastructure with greater confidence. Who this book is for This book is for system administrators, cloud and DevOps professionals, data center and networking teams, solution architects, technical managers, presales professionals, and anyone moving into AI infrastructure roles who needs a structured understanding of the NVIDIA GPU ecosystem. It is also suitable for readers who work alongside AI, MLOps, or platform teams and want to understand how compute, networking, storage, orchestration, and inference fit together. Basic familiarity with IT, cloud, networking, or data center concepts will be helpful, but no previous experience with NVIDIA GPUs is required. You do not need a programming or data science background to follow the book; the focus is on infrastructure concepts, technology boundaries, operational decisions, and platform trade-offs. What this book covers Chapter 1, Understanding AI Workloads and Accelerated Computing, introduces the relationship among AI, machine learning, and deep learning and explains why modern AI workloads benefit from GPU acceleration. The chapter then connects common workload families to their compute, memory, storage, networking, latency, and throughput requirements, giving you the foundation for infrastructure decisions throughout the book. Chapter 2, CUDA and the NVIDIA AI Software Stack, explains how CUDA turns GPU hardware into a general-purpose accelerated computing platform and follows workloads from frameworks through libraries and the CUDA execution model to the GPU. The chapter also introduces cuDNN, cuBLAS, Tensor Cores, Nsight, CUDA Graphs, NGC, TensorRT, Triton, and other layers that make up NVIDIA's end-to-end AI software stack. Preface xiv
Page 16
Chapter 3, NVIDIA GPU Architecture and Platform Selection, explores the streaming multiprocessors, Tensor Cores, memory systems, and interconnects that determine how NVIDIA GPUs execute AI workloads. The chapter compares the A100, H100, L40S, and B200 and shows you how to match GPU capabilities to training, inference, memory, communication, graphics, and resource-sharing requirements. Chapter 4, Sharing, Monitoring, and Scheduling GPU Resources, shows how MIG, DCGM, Prometheus, Grafana, Kubernetes, and Slurm turn physical GPU capacity into a shared and observable infrastructure service. You will learn how to partition accelerators, interpret utilization and health signals, and place cloud-native or HPC workloads on the appropriate GPU resources. Chapter 5, Managing Building High-Throughput Storage and Network Paths, examines how storage performance, network fabrics, and unnecessary data copies can limit even the fastest GPU infrastructure. You will compare Ethernet and InfiniBand and learn how RDMA, GPUDirect Storage, NVMe, and related technologies create faster paths between data, networks, and GPU memory. Chapter 6, Virtualized GPU Infrastructure and DPU Offload, explores how NVIDIA vGPU and MIG provide different approaches to sharing GPU resources and helps you choose the appropriate model for virtual machines, containers, and multi-tenant services. The chapter then introduces BlueField DPUs and DOCA, showing how networking, storage, security, telemetry, and other infrastructure tasks can be offloaded from the host CPU. Chapter 7, Operating the AI Lifecycle with MLOps and Inference, follows an AI project from development and training through deployment, monitoring, and the feedback that begins the next lifecycle iteration. You will learn how Airflow, MLflow, and Kubeflow make workflows reproducible before using ONNX, TensorRT, and Triton to turn trained models into optimized production inference services. Chapter 8, Delivering and Operating NVIDIA AI Platforms, brings together NGC assets, containers, Helm, Kubernetes, the NVIDIA Container Toolkit, device plugin, GPU Operator, and DCGM Exporter to build a repeatable GPU platform. The chapter then moves from deployment to cluster-scale operation, showing how high-speed GPU fabrics and a layered troubleshooting process help keep production AI infrastructure reliable. Chapter 9, Preparing for the NCA-AIIO Exam and the Next Step, converts the technical knowledge from the preceding chapters into a repeatable method for solving definition, scenario, diagram, and operational-output questions. You will learn how to identify the relevant technology layer, eliminate distractors, strengthen recall, manage exam time, and carry your certification knowledge into further hands-on AI infrastructure work. xv Preface
Page 17
To get the most out of this book You will get the most value from this book if you are comfortable with basic infrastructure concepts such as servers, networking, storage, virtualization, containers, and cloud platforms. Previous experience with GPUs, CUDA, machine learning, or NVIDIA software is not required, as the relevant concepts are introduced as they become necessary. The chapters are designed to build on one another, so first-time readers will benefit from following them in sequence. Pay particular attention to the comparison tables, architecture diagrams, scenario discussions, and chapter review questions, as these are intended to help you distinguish technologies that solve similar-looking problems at different layers of the platform. When you encounter a new component, focus first on the problem it solves and how it connects to the technologies around it rather than trying to memorize every implementation detail. No dedicated NVIDIA hardware or programming environment is required to follow the conceptual material in the book. Where product capabilities, software versions, or platform support can change over time, treat the principles in the book as your foundation and verify implementation-specific details against the documentation for the environment you are working with. Download the example code files We have code bundles from our rich catalog of books and videos available at https:// github.com/PacktPublishing. Check them out! Download the color images Your purchase includes a color, DRM-free PDF copy of this book, ideal for viewing color images, screenshots, and diagrams. Refer to Free benefits with your book section at the end of the Preface to unlock your PDF copy. Conventions used There are a number of text conventions used throughout this book. CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. For example: "The discovery command lists GPUs visible to DCGM. " Preface xvi
Page 18
Any command-line input or output is written as follows: dcgmi discovery -l dcgmi health --help dcgmi stats --help Bold: Indicates a new term, an important word, or words that you see on the screen. For instance, words in menus or dialog boxes appear in the text like this. For example: "Compute Unified Device Architecture (CUDA) is the software foundation that opened NVIDIA GPUs to general-purpose computation. " Get in touch Feedback from our readers is always welcome. General feedback: If you have questions about any aspect of this book or have any general feedback, please email us at customercare@packt.com and mention the book's title in the subject of your message. Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you reported this to us. Please visit http://www.packt.com/submit-errata, click Submit Errata, and fill in the form. Piracy: If you come across any illegal copies of our works in any form on the internet, we would be grateful if you would provide us with the location address or website name. Please contact us at copyright@packt.com with a link to the material. If you are interested in becoming an author: If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, please visit http:// authors.packt.com/. Warnings or important notes appear like this. Note Tips and tricks appear like this. Tip xvii Preface
Page 19
Share your thoughts Once you've read NVIDIA-Certified Associate AI Infrastructure and Operations (NCA-AIIO) Certification Guide, we'd love to hear your thoughts! Scan the QR code below to go straight to the Amazon review page for this book and share your feedback. https://packt.link/r/1808087496 Your review is important to us and the tech community and will help us make sure we're delivering excellent quality content. Preface xviii
Page 20
Free benefits with your book This book comes with free benefits to support your learning. Activate them now for instant access (see the "How to Unlock" section for instructions). Here's a quick overview of what you can instantly unlock with your purchase: xix Preface
The above is a preview of the first 20 pages. Register to read the complete e-book.

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay

Every 10 yuan is 1 year of VIP; the remainder counts as months (5 yuan is 5 months, 100 yuan is 10 years). Signed-in users are enabled immediately and both you and the admin get an email. Guests receive an ID and are sent to register.

← Back to List