Essential AI Knowledge

38% of the NCA-AIIO exam. Read each objective's key points, open “What NVIDIA says” to see the source, then practise.

Essential AI Knowledge · AI Infrastructure · AI Operations

1.1 The NVIDIA software stack

Official objective: “Describe the NVIDIA software stack used in an AI environment.”

The layers between the GPU and your AI application: driver, CUDA, libraries, containers and serving.

Key points

  1. The CUDA toolkit is what developers build with. The driver is what runs on the server. They are versioned separately. NVIDIA's CUDA Compatibility guide defines supported ways to run newer CUDA software on existing driver installations, within documented limits. Forward compatibility uses the cuda-compat package so applications built with a newer toolkit can run on older base drivers, subject to platform and GPU support.

    What NVIDIA says (2)

    “CUDA Compatibility helps bridge that gap by defining supported ways to run newer CUDA software on existing driver installations, within documented limits.”

    — NVIDIA CUDA Compatibility

    “It also includes Forward Compatibility , which uses the cuda-compat-<major>-<minor> package to allow applications built with a newer toolkit to run on older base drivers across major release families, subject to platform and GPU support.”

    — NVIDIA CUDA Compatibility

  2. A collective is a communication step that involves every GPU in a job. All-reduce is a collective that sums values, such as gradients, across all GPUs and gives every GPU the result. NCCL (NVIDIA Collective Communications Library) implements multi-GPU and multi-node communication primitives. It provides all-gather, all-reduce, broadcast, reduce, reduce-scatter, and point-to-point send and receive.

    What NVIDIA says (3)

    “is a library providing inter-GPU communication primitives that are topology-aware and can be easily integrated into applications.”

    — Overview of NCCL — NCCL 2.32.3 documentation

    “NCCL implements both collective communication and point-to-point send/receive primitives.”

    — Overview of NCCL — NCCL 2.32.3 documentation

    “NCCL provides the following collective communication primitives: AllReduce Broadcast Reduce AllGather ReduceScatter”

    — Overview of NCCL — NCCL 2.32.3 documentation

  3. CUDA is NVIDIA's platform for GPU computing. CUDA-X is the collection of libraries built on it. cuDNN (CUDA Deep Neural Network library) is a GPU-accelerated library of primitives for deep neural networks. A primitive is a basic building block that frameworks such as PyTorch call under the hood. NVIDIA lists attention, convolution, matrix multiplication, normalization and pooling among the operations it tunes.

    What NVIDIA says (5)

    “The NVIDIA CUDA Deep Neural Network library (cuDNN) is a GPU-accelerated library of primitives for deep neural networks.”

    — NVIDIA cuDNN Documentation

    “It provides highly tuned implementations of operations arising frequently in deep neural network (DNN) applications: Scaled dot-product attention Convolution, including cross-correlation Matrix multiplication Normalizations, softmax, and pooling”

    — NVIDIA cuDNN Documentation

    “to enable any computational workload to use the throughput capability of GPUs independent of graphics APIs.”

    — CUDA Programming Guide: Introduction

    “Libraries like cuBLAS, cuFFT, cuDNN, and CUTLASS are just a few examples of libraries that help developers avoid reimplementing well-established algorithms.”

    — CUDA Programming Guide: Introduction

    “NVIDIA CUDA-X™, built on CUDA, is a collection of libraries that deliver dramatically higher performance across application domains, including AI and HPC.”

    — CUDA Platform for Accelerated Computing

  4. RAPIDS is NVIDIA's set of CUDA-X data science libraries. cuDF accelerates fundamental DataFrame operations, the table operations pandas users run. cuML is a GPU-accelerated machine learning library. NVIDIA says zero-code-change APIs accelerate popular tools like pandas and scikit-learn.

    What NVIDIA says (4)

    “is a GPU-accelerated library for tabular data processing.”

    — NVIDIA cuDF Documentation

    “NVIDIA cuML is a suite of fast, GPU-accelerated machine learning algorithms designed for data science and analytical tasks.”

    — NVIDIA cuML Documentation

    “a zero-code change accelerator, cudf.pandas , for existing pandas code.”

    — NVIDIA cuDF Documentation

    “automatically accelerate existing code with zero code changes.”

    — NVIDIA cuML Documentation

  5. A container packages an application with everything it needs to run, so it behaves the same everywhere. The NGC catalog gives access to GPU-accelerated software: performance-optimized containers, pretrained AI models and industry-specific SDKs (software development kits). NVIDIA says these can be deployed on premises, in the cloud or at the edge.

    What NVIDIA says (2)

    “The NGC Catalog consists of containers, pretrained models, Helm charts for Kubernetes deployments, and industry-specific AI toolkits with software development kits (SDKs).”

    — NGC Catalog User Guide

    “The NGC catalog provides access to GPU-accelerated software that speeds up end-to-end workflows with performance-optimized containers, pretrained AI models, and industry-specific SDKs that can be deployed on premises, in the cloud, or at the edge.”

    — NVIDIA NGC Catalog

  6. Containers normally cannot see a server's GPUs. The NVIDIA Container Toolkit provides the runtime pieces that expose GPUs to containers. NVIDIA lists components such as the NVIDIA Container Runtime and the nvidia-ctk command-line tool. The GPU Operator installs it, together with the driver, on Kubernetes nodes.

    What NVIDIA says (2)

    “It currently includes: The NVIDIA Container Runtime ( nvidia-container-runtime ) The NVIDIA Container Toolkit CLI ( nvidia-ctk )”

    — NVIDIA Container Toolkit

    “These components include the NVIDIA drivers (to enable CUDA), Kubernetes device plugin for GPUs, the NVIDIA Container Toolkit”

    — About the NVIDIA GPU Operator

  7. The CUDA Programming Guide calls the NVIDIA Driver the operating system of the GPU. It must be installed on the host operating system and is needed for every use of the GPU, including CUDA, display and graphics. It is foundational to the CUDA platform.

    What NVIDIA says (3)

    “CUDA Toolkit and NVIDIA Driver # The NVIDIA Driver can be thought of as the operating system of the GPU.”

    — CUDA Programming Guide: The CUDA Platform

    “The NVIDIA Driver is a software component which must be installed on the host system’s operating system and is necessary for all GPU uses, including display and graphical functionality.”

    — CUDA Programming Guide: The CUDA Platform

    “The NVIDIA Driver is foundational to the CUDA platform.”

    — CUDA Programming Guide: The CUDA Platform

  8. Developers build CUDA software with the CUDA Toolkit: libraries, headers and tools. The Programming Guide says the toolkit is a separate product from the NVIDIA driver. The CUDA runtime is a library in the toolkit that provides an API for common tasks such as allocating memory, copying data between GPUs and CPUs, and launching kernels. The driver underneath makes the GPU usable at all.

    What NVIDIA says (3)

    “The CUDA Toolkit is a set of libraries, headers, and tools for writing, building, and analyzing software which utilizes GPU computing.”

    — CUDA Programming Guide: The CUDA Platform

    “The CUDA Toolkit is a separate software product from the NVIDIA driver The CUDA runtime is a special case of one of the libraries provided by the CUDA Toolkit.”

    — CUDA Programming Guide: The CUDA Platform

    “The CUDA runtime provides both an API and some language extensions to handle common tasks such as allocating memory, copying data between GPUs and other GPUs or CPUs, and launching kernels.”

    — CUDA Programming Guide: The CUDA Platform

  9. Software is often compiled for specific GPU generations. The CUDA Programming Guide says every NVIDIA GPU has a compute capability (CC) number that shows which features it supports and gives some hardware parameters. It has a major and minor version (X.Y) and corresponds directly to the SM version, so CC 12.0 GPUs have SM version sm_120.

    What NVIDIA says (3)

    “Compute Capability and Streaming Multiprocessor Versions # Every NVIDIA GPU has a Compute Capability (CC) number, which indicates what features are supported by that GPU and specifies some hardware parameters for that GPU.”

    — CUDA Programming Guide: The CUDA Platform

    “The compute capability directly corresponds to the version number of the SM.”

    — CUDA Programming Guide: The CUDA Platform

    “For example, the SMs within a GPU of CC 12.0 have SM version sm_120 .”

    — CUDA Programming Guide: The CUDA Platform

  10. Supply-chain security matters for production AI. NVIDIA's NGC documentation says all software hosted on NGC is scanned for common vulnerabilities and exposures (CVEs), cryptographic material and private keys, and is tested on many GPU platforms, including public cloud instances, workstations and data center or edge OEM servers.

    What NVIDIA says (3)

    “All software hosted on NGC is scanned for common vulnerabilities and exposures (CVEs), cryptographic material, and private keys.”

    — NGC Overview

    “In addition to security scanning, NGC software is tested against a wide range of GPU-enabled platforms.”

    — NGC Overview

    “These platforms include public cloud instances, workstations, and OEM servers designed for data center or edge deployments.”

    — NGC Overview

  11. NGC groups users into organizations. The NGC documentation says an NGC organization is where administrators manage users, teams and access to NGC services. Org owners or user admins invite users and assign roles, or map membership from an external identity provider.

    What NVIDIA says (2)

    “NGC Organizations and Teams # An NGC organization (org) is where administrators manage users, teams, and access to NGC services.”

    — NGC Overview

    “NGC Org Invitation : An NGC org owner or user admin invites users from the NGC Org Users page and assigns their NGC roles and service access.”

    — NGC Overview

  12. NGC organizations are the top-level container for enterprise deployments. Inside an org, NGC Teams provide isolated registry namespaces: members can share containers, models and resources within their team, separated from other teams in the organization.

    What NVIDIA says (2)

    “NGC Teams # NGC organizations (orgs) serve as the top-level container for enterprise deployments.”

    — NGC Overview

    “Teams provide isolated registry namespaces, ensuring members can share containers, models, and resources within their team while maintaining separation from other teams in the organization.”

    — NGC Overview

  13. NVIDIA AI Enterprise is NVIDIA's supported software suite for production AI. Its documentation describes two layers: the Application Layer (AI frameworks, NIM microservices, SDKs) and the Infrastructure Layer (GPU drivers, Kubernetes operators, cluster management tools). Each layer has independent release branches and lifecycles, with enterprise support backed by SLAs.

    What NVIDIA says (2)

    “It delivers AI frameworks, NIM microservices, and SDKs through its Application Layer, and GPU drivers, Kubernetes operators, and cluster management tools through its Infrastructure Layer.”

    — NVIDIA AI Enterprise

    “Each layer has independent release branches and lifecycles, plus enterprise support backed by SLAs.”

    — NVIDIA AI Enterprise

  14. MPI (Message Passing Interface) is the classic HPC standard for collective communication. NVIDIA's NCCL documentation says NCCL closely follows the MPI collectives API, so MPI users find it natural. The difference is that NCCL collectives take a 'stream' argument, which ties them directly into CUDA's asynchronous execution model.

    What NVIDIA says (2)

    “NCCL closely follows the popular collectives API defined by MPI (Message Passing Interface).”

    — Overview of NCCL — NCCL 2.32.3 documentation

    “In a minor departure from MPI, NCCL collectives take a “stream” argument which provides direct integration with the CUDA programming model.”

    — Overview of NCCL — NCCL 2.32.3 documentation

  15. Installing the toolkit is not enough; Docker must be told about the NVIDIA runtime. The Container Toolkit install guide says to configure it with 'nvidia-ctk runtime configure --runtime=docker', which modifies /etc/docker/daemon.json. Then restart Docker.

    What NVIDIA says (1)

    “Configuring Docker # Configure the container runtime by using the nvidia-ctk command: $ sudo nvidia-ctk runtime configure --runtime = docker The nvidia-ctk command modifies the /etc/docker/daemon.json file on the host.”

    — NVIDIA Container Toolkit: Installation Guide

Key terms: CUDA cuDNN NCCL NGC catalog Container

Try it: CUDA Stack Verification NGC Container Flow NVIDIA AI Software Stack

Practice 1.1 (15 questions) Objective page

1.2 Training vs inference

Official objective: “Compare and contrast training and inference architecture requirements and considerations.”

What training and inference each do, and why they need different resources.

Key points

  1. Training is how a model learns. Data passes through the network, the error is propagated back through its layers, and the model adjusts its weights and tries again. A weight is one of the numbers inside the model that training tunes. Inference is when a trained model makes predictions on new data. NVIDIA notes inference cannot happen without training.

    What NVIDIA says (3)

    “Instead, the error is propagated back through the network’s layers, and the model must adjust its weights and try again.”

    — What's the Difference Between Deep Learning Training and Inference?

    “Inference is the process where a trained AI model generates new outputs by reasoning and making predictions on new data — classifying inputs and applying learned knowledge in real time.”

    — What's the Difference Between Deep Learning Training and Inference?

    “Inference can’t happen without training.”

    — What's the Difference Between Deep Learning Training and Inference?

  2. Precision is how many bits a number uses. FP16 (half precision) uses 16 bits; FP32 (single precision) uses 32. Mixed precision does most operations in half precision while keeping critical information in single precision. NVIDIA lists three benefits: less memory, less memory bandwidth, and much faster math, especially on GPUs with Tensor Cores.

    What NVIDIA says (3)

    “First, they require less memory, enabling the training and deployment of larger neural networks.”

    — NVIDIA Mixed Precision Training Guide

    “Second, they require less memory bandwidth which speeds up data transfer operations.”

    — NVIDIA Mixed Precision Training Guide

    “Third, math operations run much faster in reduced precision, especially on GPUs with Tensor Core support for that precision.”

    — NVIDIA Mixed Precision Training Guide

  3. NVIDIA explains that training repeats a loop: the error is propagated back through the layers, the model adjusts its weights and tries again. Over many iterations it converges on the correct weights. NVIDIA calls training 'a monster when it comes to consuming compute.'

    What NVIDIA says (2)

    “Over many iterations, it converges on the correct weights, enabling it to reliably suggest accurate, useful code completions or translations.”

    — What's the Difference Between Deep Learning Training and Inference?

    “The challenge is, it’s also a monster when it comes to consuming compute.”

    — What's the Difference Between Deep Learning Training and Inference?

  4. Latency is the time from a request to its response. Throughput is how much work is completed per unit of time. NVIDIA says inference applies learned knowledge in real time. Low-latency, high-performance inference makes real-time interaction possible. NVIDIA adds that inference optimization lets enterprises tune throughput and latency to meet their service-level agreements (SLAs).

    What NVIDIA says (2)

    “This is only possible with low-latency, high-performance inference.”

    — What is AI Inference?

    “That’s why inference optimization techniques are so critical: they allow enterprises to optimize throughput and latency so they can meet their service level agreements across a variety of use cases.”

    — What's the Difference Between Deep Learning Training and Inference?

  5. A large language model (LLM) generates text one token at a time. To avoid recomputing earlier tokens, it stores their attention keys and values in a KV (key-value) cache. NVIDIA says the two main contributors to GPU memory for LLM inference are the model weights and the KV cache. With batching, each request's KV cache is allocated separately, which can use a lot of memory.

    What NVIDIA says (2)

    “In effect, the two main contributors to the GPU LLM memory requirement are model weights and the KV cache.”

    — Mastering LLM Techniques: Inference Optimization

    “With batching, the KV cache of each of the requests in the batch must still be allocated separately, and can have a large memory footprint.”

    — Mastering LLM Techniques: Inference Optimization

  6. LLM inference has two main GPU phases. NVIDIA explains that in prefill, all input tokens are processed at once through every layer, which is computationally heavy. In decode, the model generates outputs one token at a time, and each new token depends on all the previous ones.

    What NVIDIA says (4)

    “Prefill Phase: All input tokens are processed at once, flowing through every layer of the neural network.”

    — What's the Difference Between Deep Learning Training and Inference?

    “This is computationally heavy since the entire set of input tokens is processed all together.”

    — What's the Difference Between Deep Learning Training and Inference?

    “Decode Phase (Token by Token): The model begins generating outputs one token at a time.”

    — What's the Difference Between Deep Learning Training and Inference?

    “Each new token depends on the history of all the previous ones.”

    — What's the Difference Between Deep Learning Training and Inference?

  7. Prefill is compute-heavy while decode is sensitive to latency, so mixing them on the same GPUs can make them interfere. NVIDIA describes disaggregated serving: a separate set of GPUs handles prefill, and another handles decode, to speed up prefill.

    What NVIDIA says (1)

    “To accelerate the prefill phase, enterprises can use a technique called disaggregated serving, in which a separate set of GPUs are used for the prefill phase than the next decode phase.”

    — What's the Difference Between Deep Learning Training and Inference?

  8. Training from scratch is expensive. NVIDIA describes fine-tuning as the bridge between a foundation model trained on broad data and a model specialized for a domain, such as legal documents. Developers reuse the core model and train only a few layers or adapters on domain examples, which allows faster iteration.

    What NVIDIA says (2)

    “Fine-Tuning Makes Models More Adaptable Fine-tuning is the bridge between a foundation model trained on broad data and a model specialized for a specific domain — like legal documents, medical images or enterprise analytics.”

    — What's the Difference Between Deep Learning Training and Inference?

    “Instead of starting from scratch, developers reuse the core model and train just a few layers or adapters on domain-specific examples.”

    — What's the Difference Between Deep Learning Training and Inference?

  9. FP16 has a smaller range than FP32, so very small gradient values can become zero. NVIDIA's guide says mixed precision training needs two steps: port the model to use FP16 where appropriate, and add loss scaling to preserve small gradients. Without loss scaling, training can diverge, while with it the model matches single precision.

    What NVIDIA says (3)

    “Using mixed precision training requires two steps: Porting the model to use the FP16 data type where appropriate.”

    — NVIDIA Mixed Precision Training Guide

    “Adding loss scaling to preserve small gradient values.”

    — NVIDIA Mixed Precision Training Guide

    “Mixed precision without loss scaling (grey) diverges after a while, whereas mixed precision with loss scaling (green) matches the single precision model (black).”

    — NVIDIA Mixed Precision Training Guide

  10. Smaller number formats store each value in fewer bytes. NVIDIA's guide says FP16 uses 16 bits compared with 32 for FP32. That reduces the network's memory use, allowing larger networks or larger mini-batches, and FP16 transfers take less time than FP32 or FP64.

    What NVIDIA says (3)

    “Half-precision floating point format (FP16) uses 16 bits, compared to 32 bits for single precision (FP32).”

    — NVIDIA Mixed Precision Training Guide

    “Lowering the required memory enables training of larger models or training with larger mini-batches.”

    — NVIDIA Mixed Precision Training Guide

    “Half precision (also known as FP16) data compared to higher precision FP32 vs FP64 reduces memory usage of the neural network, allowing training and deployment of larger networks, and FP16 data transfers take less time than FP32 or FP64 transfers.”

    — NVIDIA Mixed Precision Training Guide

  11. Inference is optimized differently from training. NVIDIA's AI inference glossary says the inference phase is optimized for speed and efficiency, often using speculative decoding, quantization, pruning and layer fusion, while maintaining accuracy.

    What NVIDIA says (1)

    “This phase is optimized for speed and efficiency, often using techniques like speculative decoding, quantization, pruning, and layer fusion to enhance performance while maintaining accuracy.”

    — What is AI Inference?

Key terms: Training Inference Mixed precision Latency Throughput Batch Gradient

Try it: Distributed Training (DDP) Training vs Inference Serving

Practice 1.2 (11 questions) Objective page

1.3 AI, machine learning and deep learning

Official objective: “Differentiate the concepts of AI, machine learning, and deep learning.”

How the three terms nest inside each other, and where generative AI and LLMs fit.

Key points

  1. A neural network is a model built from layers of simple connected units. NVIDIA says 'deep' represents the many layers of algorithms, or neural networks, used to recognize patterns in data.

    What NVIDIA says (1)

    “The word "deep" in deep learning represents the many layers of algorithms, or neural networks, that are used to recognize patterns in data.”

    — What Is Deep Learning and Why Does It Matter?

  2. Artificial intelligence (AI) is the broad field. NVIDIA describes machine learning as a subset of AI that uses algorithms to parse data, learn from it, and make predictions. Deep learning is a subset of machine learning that can learn representations from data such as images, video or text without human domain knowledge.

    What NVIDIA says (2)

    “As a subset of AI, machine learning in its most elemental form uses algorithms to parse data, learn from it, and then make predictions or determinations about something in the real world.”

    — What is Machine Learning and Why Does It Matter?

    “Deep learning is a subset of machine learning, with the difference that DL algorithms can automatically learn representations from data such as images, video, or text, without introducing human domain knowledge.”

    — What Is Deep Learning and Why Does It Matter?

  3. Generative AI models use neural networks to identify patterns and structures in existing data. They then generate new and original content. NVIDIA says inputs and outputs can include text, image, audio, video and code.

    What NVIDIA says (2)

    “Generative AI models use neural networks to identify the patterns and structures within existing data to generate new and original content.”

    — What is Generative AI and How Does it Work?

    “Generative AI models can take inputs such as text, image, audio, video, and code and generate new content into any of the modalities mentioned.”

    — What is Generative AI and How Does it Work?

  4. A parameter is one of the learned numbers inside a model. NVIDIA says LLMs are trained on internet-scale datasets with hundreds of billions of parameters. That scale has unlocked the ability to generate human-like content.

    What NVIDIA says (1)

    “However, large language models, which are trained on internet-scale datasets with hundreds of billions of parameters, have now unlocked an AI model’s ability to generate human-like content.”

    — What are Large Language Models?

  5. NVIDIA describes training as passing data through layered connections where each neuron assigns weights to its input. The weights are adjusted based on feedback about whether the output was right or wrong. The trained model is, in effect, that balanced set of weights.

    What NVIDIA says (2)

    “Training a neural network, unlike human learning, involves passing data through layered connections where each neuron assigns weights and adjusts based only on “right” or “wrong” feedback.”

    — What's the Difference Between Deep Learning Training and Inference?

    “Now you have a data structure and all the weights in there have been balanced based on what it has learned as you sent the training data through.”

    — What's the Difference Between Deep Learning Training and Inference?

  6. A transformer is the neural network design behind most modern LLMs. NVIDIA says transformers use attention, or self-attention, to detect how even distant elements in a series influence each other. The math transformers use lends itself to parallel processing, so they run fast on parallel hardware like GPUs.

    What NVIDIA says (2)

    “Transformer models apply an evolving set of mathematical techniques, called attention or self-attention, to detect subtle ways even distant data elements in a series influence and depend on each other.”

    — What Is a Transformer Model?

    “In addition, the math that transformers use lends itself to parallel processing, so these models can run fast.”

    — What Is a Transformer Model?

  7. The kind of data you have decides the approach. NVIDIA's ML glossary says supervised learning uses labeled data, while unsupervised learning finds patterns in unlabeled data. Supervised learning trains on labels and features, then predicts labels on new data. Classification, one type of supervised learning, identifies which category an item belongs to.

    What NVIDIA says (3)

    “Supervised learning algorithms use labeled data, unsupervised learning algorithms find patterns in unlabeled data.”

    — What is Machine Learning and Why Does It Matter?

    “It then uses the trained model to predict the labels on a new dataset’s features.”

    — What is Machine Learning and Why Does It Matter?

    “Classification Classification identifies which category an item belongs to based on labeled examples of known items.”

    — What is Machine Learning and Why Does It Matter?

  8. NVIDIA's ML glossary lists supervised, unsupervised and semi-supervised learning, which uses a mix of labeled and unlabeled data. Reinforcement learning is different: it trains algorithms to maximize rewards based on feedback.

    What NVIDIA says (2)

    “Reinforcement learning trains algorithms to maximize rewards based on feedback.”

    — What is Machine Learning and Why Does It Matter?

    “Semi-supervised learning uses a mixture of labeled and unlabeled data.”

    — What is Machine Learning and Why Does It Matter?

  9. This is a key difference between deep learning and traditional ML. NVIDIA's deep learning glossary says the intermediate outputs of one layer, called features, become the input to the next layer. During training, the layers learn the best features for the model, so features do not need to be predetermined.

    What NVIDIA says (2)

    “The intermediate outputs of one layer, called features, are used as the input into the next layer.”

    — What Is Deep Learning and Why Does It Matter?

    “During this process, the layers learn the optimal features for the model, which has the advantage that features do not need to be predetermined.”

    — What Is Deep Learning and Why Does It Matter?

  10. Diffusion models are a family of generative AI models. NVIDIA's generative AI glossary says they train through two steps: forward diffusion slowly adds random noise to training data, and reverse diffusion reverses the noise to rebuild the data samples. Stable Diffusion is a well-known example.

    What NVIDIA says (2)

    “The two steps are forward diffusion and reverse diffusion.”

    — What is Generative AI and How Does it Work?

    “The forward diffusion process slowly adds random noise to training data, while the reverse process reverses the noise to reconstruct the data samples.”

    — What is Generative AI and How Does it Work?

  11. NVIDIA's generative AI glossary says generative AI can use unsupervised and semi-supervised learning on large amounts of unlabeled data to create foundation models. Foundation models serve as a base that can be adapted to many tasks across language, vision, code and other modalities.

    What NVIDIA says (1)

    “Foundation models serve as a base for AI systems that can be adapted to many downstream tasks across language, vision, code, and other modalities.”

    — What is Generative AI and How Does it Work?

Key terms: Artificial intelligence Machine learning Deep learning Generative AI Large language model Transformer

Try it: AI, ML & DL Foundations

Practice 1.3 (11 questions) Objective page

1.4 Why AI took off

Official objective: “Explain the factors contributing to recent rapid improvements and adoption of AI.”

The factors behind the recent jump in AI: GPUs, transformers and pretrained models.

Key points

  1. Parallel computing means doing many calculations at the same time. NVIDIA says the parallelism of deep learning maps naturally to GPUs. That gives a significant speedup over CPU-only training and made GPUs the platform of choice for large neural networks. NVIDIA notes GPU-accelerated frameworks can cut training from days and weeks to hours and days.

    What NVIDIA says (2)

    “This parallelism maps naturally to GPUs , providing a significant computation speedup over CPU-only training and making them the platform of choice for training large, complex neural network-based systems.”

    — What Is Deep Learning and Why Does It Matter?

    “researchers and data scientists can significantly speed up deep learning training that could otherwise take days and weeks to just hours and days.”

    — What Is Deep Learning and Why Does It Matter?

  2. Labeled data has the right answer attached to each example, which takes people time and money to create. Self-supervised learning finds its training signal in the data itself. NVIDIA says that before transformers, users had to train with large, labeled datasets that were costly and time-consuming to produce. NVIDIA's CEO is quoted: transformers made self-supervised learning possible, and AI jumped to warp speed.

    What NVIDIA says (2)

    “Before transformers arrived, users had to train neural networks with large, labeled datasets that were costly and time-consuming to produce.”

    — What Is a Transformer Model?

    “Transformers made self-supervised learning possible, and AI jumped to warp speed”

    — What Is a Transformer Model?

  3. A pretrained model is a deep learning model trained on large datasets to do a specific task. Fine-tuning is extra training that adapts it to a narrower need. NVIDIA says a pretrained model can be used as is or customized to suit application requirements across multiple industries.

    What NVIDIA says (3)

    “A pretrained AI model is a deep learning model that’s trained on large datasets to accomplish a specific task, and it can be used as is or customized to suit application requirements across multiple industries.”

    — What Is a Pretrained AI Model?

    “You can use the pretrained models for inference or fine-tune them with transfer learning.”

    — NGC Catalog User Guide

    “It can be used as is or further fine-tuned to fit an application’s specific needs.”

    — What Is a Pretrained AI Model?

  4. Moore's law says transistor counts double about every two years, which drove decades of performance gains. NVIDIA notes that this law has run up against hard physical limits. GPUs offered another way to keep speeding up graphics, supercomputing and AI: dividing tasks among many processors.

    What NVIDIA says (3)

    “Moore’s law posits that the number of transistors that can be crammed into an integrated circuit will double about every two years.”

    — What's the Difference Between a CPU and a GPU?

    “That law, however, has run up against hard physical limits.”

    — What's the Difference Between a CPU and a GPU?

    “GPUs offers a way to continue accelerating applications — such as graphics, supercomputing and AI — by dividing tasks among many processors.”

    — What's the Difference Between a CPU and a GPU?

  5. GPUs began as fixed-function 3D graphics hardware and became more programmable. NVIDIA's CUDA Programming Guide says that in 2006 NVIDIA introduced CUDA so any computational workload could use GPU throughput without graphics APIs. That made GPUs foundational to new algorithms, from image classification to diffusion and large language models.

    What NVIDIA says (2)

    “In 2006, NVIDIA introduced the Compute Unified Device Architecture (CUDA) to enable any computational workload to use the throughput capability of GPUs independent of graphics APIs.”

    — CUDA Programming Guide: Introduction

    “Moreover, the capability and programmability of GPUs has been foundational to the advancement of new algorithms and technologies ranging from image classification to generative artificial intelligence such as diffusion or large language models. 1.1.2.”

    — CUDA Programming Guide: Introduction

  6. Building a model from scratch needs huge datasets. NVIDIA explains that pretrained models' precomputed weights save time, money and effort, and can be fine-tuned with more data. It quotes a partner saying pretrained models can cut AI application development time by up to a year, with large cost savings.

    What NVIDIA says (3)

    “Precomputed probabilistic representations — known as weights — save time, money and effort.”

    — What Is a Pretrained AI Model?

    “Weights can be modified, and more data can be added to the model to further customize or fine-tune it.”

    — What Is a Pretrained AI Model?

    “According to Alfredo Ramos, senior vice president of platform at AI company Clarifai — a Premier partner in the NVIDIA Inception program for startups — pretrained models can cut AI application development time by up to a year and lead to cost savings of hundreds of thousands of dollars.”

    — What Is a Pretrained AI Model?

  7. NVIDIA describes transformers as among the newest and most powerful model classes. It says transformers are in many cases replacing CNNs and RNNs, the most popular deep learning models just five years earlier, and that 70 percent of recent AI papers on arXiv mention transformers.

    What NVIDIA says (2)

    “Transformers Replace CNNs, RNNs Transformers are in many cases replacing convolutional and recurrent neural networks (CNNs and RNNs), the most popular types of deep learning models just five years ago.”

    — What Is a Transformer Model?

    “Indeed, 70 percent of arXiv papers on AI posted in the last two years mention transformers.”

    — What Is a Transformer Model?

  8. Adoption feeds itself. NVIDIA says any application using sequential text, image or video data is a candidate for transformers. Trained on large datasets, they make accurate predictions that drive wider use, which generates more data for even better models.

    What NVIDIA says (2)

    “The Virtuous Cycle of Transformer AI Any application using sequential text, image or video data is a candidate for transformer models.”

    — What Is a Transformer Model?

    “Created with large datasets, transformers make accurate predictions that drive their wider use, generating more data that can be used to create even better models.”

    — What Is a Transformer Model?

  9. Supercomputers used to focus on scientific simulation. NVIDIA's HPC glossary says HPC has evolved into a dual role running simulation and machine learning. Combining physics-based simulation with ML has cut time to insight in fields such as climate modeling and drug discovery. GPU technology is a key enabler of this shift.

    What NVIDIA says (2)

    “In recent years, HPC has evolved from a tool focused on simulation-based scientific investigation to a dual role running simulation and machine learning (ML) .”

    — NVIDIA Glossary: What is High-Performance Computing?

    “One key enabler driving this evolution of HPC and ML is the development of graphics processing unit (GPU) technology.”

    — NVIDIA Glossary: What is High-Performance Computing?

Key terms: Deep learning Transformer Pretrained model Accelerated computing Central processing unit

Try it: AI, ML & DL Foundations

Practice 1.4 (9 questions) Objective page

1.5 AI use cases and industries

Official objective: “Explain the key AI use cases and industries.”

Where AI is used today and what kind of model each use case needs.

Key points

  1. Computer vision is AI that interprets images and video. NVIDIA notes computer vision can help spot diseases quickly in medical imaging. Modern neural networks and GPU computing have led to its adoption across industries including healthcare, retail, manufacturing, transportation and financial services.

    What NVIDIA says (2)

    “They can also help spot diseases quickly in medical imaging and save lives .”

    — What Is Computer Vision? (NVIDIA Glossary)

    “have led to widespread adoption across industries like transportation , retail , manufacturing , healthcare , and financial services .”

    — What Is Computer Vision? (NVIDIA Glossary)

  2. NVIDIA defines a recommendation system as an AI algorithm, usually machine learning, that uses Big Data to suggest or recommend additional products to consumers. It learns preferences and past decisions from interaction data.

    What NVIDIA says (2)

    “A recommendation system is an artificial intelligence or AI algorithm, usually associated with machine learning , that uses Big Data to suggest or recommend additional products to consumers.”

    — What Is a Recommendation System? (NVIDIA Glossary)

    “Recommender systems are trained to understand the preferences, previous decisions, and characteristics of people and products using data gathered about their interactions.”

    — What Is a Recommendation System? (NVIDIA Glossary)

  3. NVIDIA groups LLM text use cases into generation (such as marketing content), summarization (such as meeting notes), translation (including text-to-code), classification (such as sentiment analysis) and chatbots (such as virtual assistants).

    What NVIDIA says (1)

    “Broadly, LLM use cases for text-based content can be divided up in the following manner: Generation (e.g., story writing, marketing content creation) Summarization (e.g., legal paraphrasing, meeting notes summarization) Translation (e.g., between languages, text-to-code) Classification (e.g., toxicity classification, sentiment analysis) Chatbot (e.g., open-domain Q+A, virtual assistants)”

    — What are Large Language Models?

  4. NVIDIA says companies are increasingly data-driven. They use analytics and machine learning to recognize complex patterns, detect changes and make predictions that directly impact the bottom line.

    What NVIDIA says (1)

    “Companies are increasingly data-driven–sensing market and environment data, and using analytics and machine learning to recognize complex patterns, detect changes, and make predictions that directly impact the bottom line.”

    — What is Machine Learning and Why Does It Matter?

  5. NVIDIA's computer vision glossary says CNNs can perform segmentation, classification and detection. Segmentation classifies each pixel into a category such as car, road or pedestrian. Classification decides what is in an image; detection finds where objects are.

    What NVIDIA says (2)

    “Convolutional neural networks (CNN) can perform segmentation, classification, and detection for a myriad of applications: Segmentation : Image segmentation is about classifying pixels to belong to a certain category, such as a car, road, or pedestrian.”

    — What Is Computer Vision? (NVIDIA Glossary)

    “Classification : Image classification is used to determine what’s in an image.”

    — What Is Computer Vision? (NVIDIA Glossary)

  6. Locating objects is detection. NVIDIA's glossary says image detection lets computers localize where objects are, and a detector can be trained to see where cars or people are within an image. Computer vision is used in industries such as retail, manufacturing, construction and insurance.

    What NVIDIA says (3)

    “Detection : Image detection allows computers to localize where objects exist.”

    — What Is Computer Vision? (NVIDIA Glossary)

    “A detector might also be trained to see where cars or people are within an image.”

    — What Is Computer Vision? (NVIDIA Glossary)

    “Computer vision has numerous applications, including sports , automotive , agriculture , retail , banking , construction , insurance , and beyond.”

    — What Is Computer Vision? (NVIDIA Glossary)

  7. NVIDIA's recommender glossary lists three broad categories: collaborative, content and context filtering. Collaborative filtering recommends items based on preference information from many users. For example, if you share tastes with another user, it may recommend a movie that user likes.

    What NVIDIA says (2)

    “Collaborative filtering algorithms recommend items (this is the filtering part) based on preference information from many users (this is the collaborative part).”

    — What Is a Recommendation System? (NVIDIA Glossary)

    “For example, if a collaborative filtering recommender knows you and another user share similar tastes in movies, it might recommend a movie to you that it knows this other user already likes.”

    — What Is a Recommendation System? (NVIDIA Glossary)

  8. Recommenders power much of the web economy. NVIDIA's glossary calls them critical for personalized experiences, deeper customer engagement and decision support in retail, entertainment, healthcare, finance and other industries.

    What NVIDIA says (1)

    “Benefits of Recommendation Systems Recommender systems are a critical component driving personalized user experiences, deeper engagement with customers, and powerful decision support tools in retail, entertainment, healthcare, finance, and other industries.”

    — What Is a Recommendation System? (NVIDIA Glossary)

  9. LLMs serve many roles. NVIDIA's glossary lists programmers generating code from natural-language descriptions, retailers using dynamic chatbots for customer experience, and financial advisors summarizing earnings calls and creating transcripts. Because of their broad training, LLMs can serve multiple use cases without being trained for each one.

    What NVIDIA says (3)

    “Retailers can leverage LLMs to provide stellar customer experiences to customers through dynamic chatbots.”

    — What are Large Language Models?

    “Financial advisors can use LLMs to summarize earnings calls and create transcripts of important meetings.”

    — What are Large Language Models?

    “Thanks to the extensive training process that LLMs undergo, the models don’t need to be trained for any specific task and can instead serve multiple use cases.”

    — What are Large Language Models?

  10. NVIDIA's LLM glossary says LLMs can read, write, code, draw and create, and lists code generation as a use case: programmers can generate code from natural-language descriptions.

    What NVIDIA says (2)

    “Or a software programmer can be more productive, leveraging LLMs to generate code based on natural language descriptions.”

    — What are Large Language Models?

    “Models can read, write, code, draw, and create in a credible fashion and augment human creativity and improve productivity across industries to solve the world’s toughest problems.”

    — What are Large Language Models?

  11. Real-time systems must react fast. NVIDIA's AI inference glossary says accurate, real-time inference is essential in safety-critical uses such as robotics and autonomous vehicles. Low latency lets them perceive, interpret and respond to their environment instantly.

    What NVIDIA says (2)

    “Safety and Reliability: In safety-critical applications such as robotics and autonomous vehicles, accurate, real-time inference is essential.”

    — What is AI Inference?

    “Low-latency inference enables these systems to perceive, interpret, and respond to their environment instantly, reducing response times to increase precision and safety.”

    — What is AI Inference?

Key terms: Generative AI Large language model

Try it: AI, ML & DL Foundations

Practice 1.5 (11 questions) Objective page

1.6 NVIDIA solutions and what they are for

Official objective: “Explain the purpose and use case of various NVIDIA solutions.”

Which NVIDIA product solves which problem: NIM, Triton, NeMo, AI Enterprise, DGX and HGX.

Key points

  1. A microservice is a small, self-contained service that other applications call over an API (application programming interface). NVIDIA NIM provides prebuilt, optimized inference microservices for deploying AI models on NVIDIA-accelerated infrastructure. NIM containers expose industry-standard APIs and are tuned for latency and throughput.

    What NVIDIA says (3)

    “NVIDIA NIM microservices are a set of easy-to-use microservices for accelerating the deployment of foundation models on any cloud or data center”

    — NVIDIA NIM Documentation

    “NVIDIA NIM™ provides prebuilt, optimized inference microservices for rapidly deploying the latest AI models on any NVIDIA-accelerated infrastructure—cloud, data center, workstation, and edge.”

    — NVIDIA NIM Microservices

    “expose industry-standard APIs for simple integration into AI applications, development frameworks, and workflows and optimize response latency and throughput for each combination of foundation model and GPU.”

    — NVIDIA NIM for Developers

  2. NVIDIA describes the NeMo Framework as a scalable, cloud-native generative AI framework. It is built for researchers and developers working on LLMs, multimodal models and speech AI.

    What NVIDIA says (1)

    “NVIDIA NeMo Framework is a scalable and cloud-native generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI”

    — NVIDIA NeMo Framework

  3. Inference serving means running trained models behind an endpoint that applications can call. Triton is open-source inference serving software. It deploys models from frameworks such as TensorRT, PyTorch and ONNX. Its features include concurrent model execution and dynamic batching, which groups requests to use the GPU better.

    What NVIDIA says (3)

    “Triton Inference Server is an open source inference serving software that streamlines AI inferencing.”

    — NVIDIA Triton Inference Server

    “Triton Inference Server enables teams to deploy any AI model from multiple deep learning and machine learning frameworks, including TensorRT, PyTorch, ONNX, OpenVINO, Python, RAPIDS FIL, and more.”

    — NVIDIA Triton Inference Server

    “Concurrent model execution Dynamic batching”

    — NVIDIA Triton Inference Server

  4. NVIDIA AI Enterprise is NVIDIA's cloud-native software platform for production AI. NVIDIA says it increases reliability with extended-lifetime production branches and enterprise support. A production branch is a software release line kept stable and patched for a long time.

    What NVIDIA says (1)

    “Increase reliability with extended-lifetime production branches and enterprise support.”

    — NVIDIA AI Enterprise

  5. cuDF is the RAPIDS library for DataFrame operations on the GPU. NVIDIA offers plug-in accelerators for DataFrame libraries like pandas with no code changes required.

    What NVIDIA says (4)

    “is a GPU-accelerated library for tabular data processing.”

    — NVIDIA cuDF Documentation

    “a zero-code change accelerator, cudf.pandas , for existing pandas code.”

    — NVIDIA cuDF Documentation

    “A Python library providing a GPU engine for Polars”

    — NVIDIA cuDF Documentation

    “accelerators for popular DataFrame libraries and SQL engines, like Polars, pandas, and Apache Spark with no code changes required.”

    — CUDA-X Data Science Libraries (RAPIDS)

  6. NVIDIA calls DGX a complete AI solution with full-stack, intelligent software. HGX brings together NVIDIA GPUs, CPUs, NVLink, networking and optimized software. NVIDIA says HGX is available as a single baseboard with eight GPUs, which server makers build systems around.

    What NVIDIA says (3)

    “Unlock productivity with the NVIDIA DGX platform, a complete AI solution with full-stack, intelligent software in NVIDIA Mission Control .”

    — NVIDIA DGX Platform

    “This server variant consists of one GPU baseboard with eight NVIDIA H100 GPUs and four NVSwitches.”

    — NVIDIA Fabric Manager User Guide

    “NVIDIA HGX is available in a single baseboard with eight NVIDIA Rubin, NVIDIA Blackwell, or NVIDIA Blackwell Ultra SXMs.”

    — NVIDIA HGX Platform

  7. NVIDIA AI Enterprise offers different release branches. Its documentation lists a Production Branch with the latest infrastructure release, and a Long-Term Support Branch (LTSB) that provides extended support for stable production deployments. Regulated, change-averse environments usually choose LTSB.

    What NVIDIA says (2)

    “The latest Long-Term Support Branch (LTSB) release, providing extended support for stable production deployments.”

    — NVIDIA AI Enterprise

    “The latest Production Branch release of NVIDIA AI Enterprise infrastructure software.”

    — NVIDIA AI Enterprise

  8. Triton Inference Server is NVIDIA's open-source inference serving software. Its documentation says Triton supports inference across cloud, data center, edge and embedded devices, on NVIDIA GPUs, x86 and ARM CPUs, or AWS Inferentia. That lets one serving stack cover very different sites.

    What NVIDIA says (1)

    “Triton supports inference across cloud, data center, edge and embedded devices on NVIDIA GPUs, x86 and ARM CPU, or AWS Inferentia.”

    — NVIDIA Triton Inference Server

  9. Triton separates the front end, scheduling and model execution. Its architecture: requests arrive via HTTP/REST, gRPC or the C API, and are routed to a per-model scheduler. The scheduler can batch requests, then passes them to the backend for that model type (for example TensorRT or PyTorch), which produces the outputs. Scheduling and batching can be configured per model.

    What NVIDIA says (3)

    “Inference requests arrive at the server via either HTTP/REST or GRPC or by the C API and are then routed to the appropriate per-model scheduler.”

    — NVIDIA Triton Inference Server

    “Each model’s scheduler optionally performs batching of inference requests and then passes the requests to the backend corresponding to the model type.”

    — NVIDIA Triton Inference Server

    “Triton implements multiple scheduling and batching algorithms that can be configured on a model-by-model basis.”

    — NVIDIA Triton Inference Server

  10. Prometheus pulls ('scrapes') metrics from HTTP endpoints. Triton's documentation says its metrics are available by default at http://localhost:8002/metrics in plain text, and are only available by accessing that endpoint, not pushed to a remote server. The port can be changed with --metrics-port.

    What NVIDIA says (3)

    “By default, these metrics are available at http://localhost:8002/metrics.”

    — Triton Inference Server: Metrics

    “The metrics are only available by accessing the endpoint, and are not pushed or published to any remote server.”

    — Triton Inference Server: Metrics

    “The --metrics-port option can be used to select a different port.”

    — Triton Inference Server: Metrics

  11. Triton's model configuration tells it how to treat each model. The documentation says a minimal configuration needs the platform or backend, max_batch_size, and input and output tensors. For models that do not support batching, max_batch_size must be set to zero; for models that do, it is the largest batch Triton should use.

    What NVIDIA says (2)

    “Minimal Model Configuration # A minimal model configuration must specify the platform and/or backend properties , the max_batch_size property, and the input and output tensors of the model.”

    — Model Configuration — NVIDIA Triton Inference Server

    “For models that do not support batching, or do not support batching in the specific ways described above, max_batch_size must be set to zero.”

    — Model Configuration — NVIDIA Triton Inference Server

  12. Dynamic batching combines individual requests into batches to use the GPU better. Triton's documentation says that by default the dynamic batcher creates batches as large as possible up to the maximum batch size and does not delay forming batches. It should be used for stateless models. Preferred batch sizes and a maximum queue delay can then be tuned per model.

    What NVIDIA says (2)

    “By default the dynamic batcher will create batches as large as possible up to the maximum batch size and will not delay when forming batches.”

    — NVIDIA Triton Inference Server: Batchers

    “The dynamic batcher should be used for stateless models .”

    — NVIDIA Triton Inference Server: Batchers

  13. Building speech models from scratch takes many iterations. NVIDIA's NeMo documentation says NeMo Framework is built for researchers and developers working on large language models, multimodal and speech AI, such as ASR and TTS. It lets users create, customize and deploy new models by reusing existing code and pretrained model checkpoints.

    What NVIDIA says (3)

    “Overview # NVIDIA NeMo Framework is a scalable and cloud-native generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (e.g.”

    — NVIDIA NeMo Framework

    “Automatic Speech Recognition and Text-to-Speech ).”

    — NVIDIA NeMo Framework

    “It enables users to efficiently create, customize, and deploy new generative AI models by leveraging existing code and pre-trained model checkpoints.”

    — NVIDIA NeMo Framework

  14. Running inference in production means patching and maintaining the serving stack. NVIDIA's NIM documentation says NIM microservices have production-grade runtimes, including ongoing security updates. That shifts much of the maintenance work from the team to NVIDIA.

    What NVIDIA says (1)

    “NIM microservices have production-grade runtimes including on-going security updates.”

    — NVIDIA NIM

  15. Large jobs are often limited by moving data, not by compute. NVIDIA describes Magnum IO as using network IO, in-network computing, storage and IO management to simplify and speed up data movement, access and management for multi-GPU, multi-node systems. GPUDirect Storage carries the Magnum IO name in NVIDIA's documentation, and the DGX SuperPOD reference architecture lists Magnum IO among the NVIDIA solutions that manage a SuperPOD.

    What NVIDIA says (3)

    “Learn More Magnum IO NVIDIA Magnum IO™ utilizes network IO, In-Network Computing, storage, and IO management to simplify and speed up data movement, access, and management for multi-GPU, multi-node systems.”

    — NVIDIA InfiniBand Networking

    “Overview Guide # The NVIDIA® Magnum IO GPUDirect® Storage Overview Guide provides a high-level overview of GPUDirect® Storage (GDS).”

    — GPUDirect Storage Overview

    “The DGX SuperPOD architecture is managed by NVIDIA solutions including NVIDIA Base Command™, NVIDIA AI Enterprise, CUDA, and NVIDIA Magnum IO™.”

    — DGX SuperPOD H100 Reference Architecture: Abstract

  16. NGC is NVIDIA's portal to its cloud services and software. The NGC overview lists DGX Cloud for model training, NVIDIA AI Enterprise for the latest NIM models, and the NGC Private Registry to share proprietary AI software. Enterprises reach these services through an NGC organization linked to an NVIDIA Cloud Account.

    What NVIDIA says (2)

    “You can use DGX Cloud for model training, NVIDIA AI Enterprise for the latest NVIDIA NIM™ models, and the NGC Private Registry to share proprietary AI software.”

    — NGC Overview

    “Enterprises access their AI cloud services through a dedicated virtual NVIDIA Cloud Account (NCA) linked to the NGC organization where their services are enabled. 1.2.”

    — NGC Overview

  17. An AI factory is infrastructure built to turn data into intelligence across the AI life cycle. NVIDIA's glossary names Quantum InfiniBand and Spectrum-X Ethernet as the networking that ensures robust, efficient data transfer and communication within the AI factory.

    What NVIDIA says (1)

    “Quantum InfiniBand and Spectrum-X™ Ethernet NVIDIA Quantum InfiniBand and Spectrum-X™ Ethernet ensure robust and efficient networking, essential for data transfer and communication within the AI factory.”

    — NVIDIA Glossary: What is an AI Factory?

Key terms: NVIDIA NIM Triton Inference Server

Try it: NVIDIA AI Software Stack

Practice 1.6 (17 questions) Objective page

1.7 The AI development and deployment life cycle

Official objective: “Describe the software components related to the life cycle of AI development and deployment.”

The software that supports each step from data to a model in production.

Key points

  1. The AI life cycle runs from data preparation to model development, deployment and monitoring. TensorRT sits between training and deployment. NVIDIA says it optimizes models trained on all major frameworks, calibrates them for lower precision with high accuracy, and deploys them from data centers to edge devices.

    What NVIDIA says (4)

    “It takes trained models from frameworks such as PyTorch and ONNX and compiles them into engines, which are optimized executable artifacts for a specific deployment configuration.”

    — NVIDIA TensorRT Documentation

    “TensorRT supports mixed precision”

    — NVIDIA TensorRT Documentation

    “TensorRT includes libraries that optimize neural network models trained on all major frameworks, calibrate them for lower precision with high accuracy, and deploy them to hyperscale data centers, workstations, laptops, and edge devices.”

    — NVIDIA TensorRT (developer page)

    “throughout the entire ML lifecycle—from exploratory analysis, data preparation, and model development to deployment, monitoring, and ongoing optimization.”

    — What Is MLOps? (NVIDIA Glossary)

  2. TensorRT is NVIDIA's SDK for optimizing deep learning inference on NVIDIA GPUs. Quantization stores numbers with fewer bits. Fusion merges several operations into one. Kernel tuning picks the fastest GPU code for each step. NVIDIA says TensorRT uses all three to optimize inference.

    What NVIDIA says (2)

    “is an SDK for optimizing deep learning inference on NVIDIA GPUs.”

    — NVIDIA TensorRT Documentation

    “optimizes inference using quantization, layer and tensor fusion, and kernel tuning techniques.”

    — NVIDIA TensorRT (developer page)

  3. MLOps (machine learning operations) applies DevOps ideas to machine learning. NVIDIA defines it as practices and principles that streamline the development, deployment and maintenance of ML models in production. It covers the whole life cycle, from exploratory analysis and data preparation to deployment, monitoring and ongoing optimization.

    What NVIDIA says (2)

    “short for machine learning operations, is a set of practices and principles that aims to streamline the development, deployment, and maintenance of machine learning (ML) models in production environments.”

    — What Is MLOps? (NVIDIA Glossary)

    “MLOps is an extension of the existing discipline of DevOps, the modern practice of efficiently writing, deploying, and running enterprise applications.”

    — What Is MLOps? (NVIDIA Glossary)

  4. Training from scratch needs a lot of representative data and compute. NVIDIA says a pretrained model is trained on large datasets and can be used as is or fine-tuned to fit an application's needs. That reuses earlier work instead of repeating it.

    What NVIDIA says (3)

    “You can use the pretrained models for inference or fine-tune them with transfer learning.”

    — NGC Catalog User Guide

    “It can be used as is or further fine-tuned to fit an application’s specific needs.”

    — What Is a Pretrained AI Model?

    “That model needs a lot of representative data to learn from.”

    — What Is a Pretrained AI Model?

  5. TensorRT is NVIDIA's SDK for optimizing deep learning inference on NVIDIA GPUs. Its documentation lists mixed precision support (FP32/FP16/BF16/FP8/INT8/FP4/INT4), dynamic input shapes, and specialized optimizations for transformers and large language models. Lower precisions such as FP8 or INT4 cut memory and speed up inference, often with little accuracy loss.

    What NVIDIA says (2)

    “NVIDIA TensorRT Documentation # NVIDIA® TensorRT™ is an SDK for optimizing deep learning inference on NVIDIA GPUs.”

    — NVIDIA TensorRT

    “TensorRT supports mixed precision (FP32/FP16/BF16/FP8/INT8/FP4/INT4), dynamic input shapes, and specialized optimizations for transformers and large language models (LLMs).”

    — NVIDIA TensorRT

  6. Performance depends on the model, batch size, precision and GPU. NVIDIA's TensorRT documentation says to measure latency and throughput on your own model and hardware, and points to its best-practices guide for how to do it.

    What NVIDIA says (1)

    “Measure latency and throughput on your own model and hardware; refer to Best Practices .”

    — NVIDIA TensorRT

  7. Batching trades a little latency for much higher throughput, and the best settings vary by model. Triton's documentation recommends enabling the dynamic batcher with defaults, measuring with Performance Analyzer, and tuning each model. Model Analyzer can automatically search across dynamic batcher configurations.

    What NVIDIA says (3)

    “The following steps are the recommended process for tuning the dynamic batcher for each model.”

    — NVIDIA Triton Inference Server: Batchers

    “It is also possible to use the Model Analyzer to automatically search across different dynamic batcher configurations.”

    — NVIDIA Triton Inference Server: Batchers

    “dynamic_batching { } Use the Performance Analyzer to determine the latency and throughput provided by the default dynamic batcher configuration.”

    — NVIDIA Triton Inference Server: Batchers

  8. The model repository is a file-system-based store of the models Triton serves, given with --model-repository at start-up. Triton's documentation requires a fixed layout: one sub-directory per model, and inside it at least one numeric sub-directory per version, holding the files that model's backend needs.

    What NVIDIA says (3)

    “Within the top-level model repository directory there must be zero or more sub-directories.”

    — Triton Inference Server: Model Repository

    “Each of the sub-directories contains the repository information for the corresponding model.”

    — Triton Inference Server: Model Repository

    “Each directory must have at least one numeric sub-directory representing a version of the model.”

    — Triton Inference Server: Model Repository

  9. Open-source software can also be consumed with enterprise support. Triton's documentation says Triton Inference Server is part of NVIDIA AI Enterprise, a software platform that speeds up the data science pipeline and simplifies developing and deploying production AI.

    What NVIDIA says (1)

    “Triton inference Server is part of NVIDIA AI Enterprise , a software platform that accelerates the data science pipeline and streamlines the development and deployment of production AI.”

    — NVIDIA Triton Inference Server

  10. AI work does not end at training. NVIDIA's AI infrastructure glossary describes each stage of the AI life cycle, from data ingestion and model development to inference and continuous improvement, as something the infrastructure must deploy and manage efficiently.

    What NVIDIA says (1)

    “This ensures each stage of the AI lifecycle—from data ingestion and model development to inference and continuous improvement—can be efficiently deployed and managed, enabling faster innovation and scalable performance.”

    — What Is AI Infrastructure? (NVIDIA Glossary)

  11. Data preparation is an early life cycle step. NVIDIA's AI factory glossary says data pipelines are essential to LLMs because they turn raw, unstructured data into high-quality, structured tokens that models can learn from. An AI factory manages the whole life cycle, from data ingestion through training, fine-tuning and high-volume inference.

    What NVIDIA says (2)

    “The pipelines are essential to the success of LLMs because they transform raw, unstructured data into high-quality, structured tokens that models can learn from effectively, as high-quality data is the foundation of modern-day intelligence.”

    — NVIDIA Glossary: What is an AI Factory?

    “An AI factory is a specialized computing infrastructure designed to create value from data by managing the entire AI life cycle, from data ingestion to training, fine-tuning, and high-volume AI inference .”

    — NVIDIA Glossary: What is an AI Factory?

  12. NVIDIA frames AI factories like manufacturing plants. Its glossary says the primary product of an AI factory is intelligence, measured by token throughput, which drives decisions, automation and new AI solutions. That is why inference performance and energy efficiency get so much emphasis.

    What NVIDIA says (2)

    “The primary product is intelligence, measured by token throughput, which drives decisions, automation, and new AI solutions .”

    — NVIDIA Glossary: What is an AI Factory?

    “While data centers are designed to handle general-purpose computing tasks across fields, an AI factory is specifically optimized for artificial intelligence workloads, with a strong emphasis on AI inference performance and energy efficiency .”

    — NVIDIA Glossary: What is an AI Factory?

Key terms: Pretrained model MLOps

Try it: Training vs Inference Serving NVIDIA AI Software Stack

Practice 1.7 (12 questions) Objective page

1.8 GPU vs CPU architecture

Official objective: “Compare and contrast GPU and CPU architectures.”

Why GPUs, with many cores running in parallel, suit AI better than CPUs for the heavy math.

Key points

  1. NVIDIA's CUDA guide says a CPU is designed to run a serial sequence of operations as fast as possible. A GPU is designed to run thousands of threads in parallel, trading lower single-thread performance for much greater total throughput. GPUs devote more transistors to data processing, while CPUs devote more to caching and flow control.

    What NVIDIA says (2)

    “a GPU is designed to excel at executing thousands of threads in parallel, trading off lower single-thread performance to achieve much greater total throughput.”

    — CUDA Programming Guide: Introduction

    “GPUs are specialized for highly parallel computations and devote more transistors to data processing units, while CPUs dedicate more transistors to data caching and flow control.”

    — CUDA Programming Guide: Introduction

  2. A core is a processing unit. A thread is one sequence of instructions. NVIDIA says a CPU has a few cores with lots of cache memory, handling a few software threads at a time. A GPU has hundreds of cores that handle thousands of threads simultaneously.

    What NVIDIA says (5)

    “GPUs are specialized for highly parallel computations and devote more transistors to data processing units, while CPUs dedicate more transistors to data caching and flow control.”

    — CUDA Programming Guide: Introduction

    “a CPU is designed to excel at executing a serial sequence of operations (called a thread) as fast as possible and can execute a few tens of these threads in parallel”

    — CUDA Programming Guide: Introduction

    “Architecturally, the CPU is composed of just a few cores with lots of cache memory that can handle a few software threads at a time.”

    — What's the Difference Between a CPU and a GPU?

    “a GPU is designed to excel at executing thousands of threads in parallel, trading off lower single-thread performance to achieve much greater total throughput.”

    — CUDA Programming Guide: Introduction

    “In contrast, a GPU is composed of hundreds of cores that can handle thousands of threads simultaneously.”

    — What's the Difference Between a CPU and a GPU?

  3. A tensor is a multi-dimensional array of numbers, the basic data type of deep learning. NVIDIA says deep learning is accelerated by dedicated Tensor Cores in its GPUs. Its mixed-precision guide notes math runs much faster in reduced precision on GPUs with Tensor Core support.

    What NVIDIA says (2)

    “Tensor Cores were introduced in the NVIDIA Volta™ GPU architecture to accelerate matrix multiply and accumulate operations for machine learning and scientific applications.”

    — GPU Performance Background User's Guide

    “Third, math operations run much faster in reduced precision, especially on GPUs with Tensor Core support for that precision.”

    — NVIDIA Mixed Precision Training Guide

  4. NVIDIA defines accelerated computing as using specialized hardware to dramatically speed up work with parallel processing. It offloads demanding work that can bog down CPUs, which typically run tasks one after another. The CPU still runs the parts of the program that are serial.

    What NVIDIA says (4)

    “A GPU provides much higher instruction throughput and memory bandwidth than a CPU within a similar price and power envelope.”

    — CUDA Programming Guide: Introduction

    “Accelerated computing is the use of specialized hardware to dramatically speed up work, using parallel processing that bundles frequently occurring tasks.”

    — What Is Accelerated Computing?

    “a CPU is designed to excel at executing a serial sequence of operations (called a thread) as fast as possible and can execute a few tens of these threads in parallel”

    — CUDA Programming Guide: Introduction

    “It offloads demanding work that can bog down CPUs, processors that typically execute tasks in serial fashion.”

    — What Is Accelerated Computing?

  5. Memory bandwidth is how fast data moves between memory and the processor. NVIDIA's CUDA guide says a GPU provides much higher instruction throughput and memory bandwidth than a CPU within a similar price and power envelope.

    What NVIDIA says (1)

    “A GPU provides much higher instruction throughput and memory bandwidth than a CPU within a similar price and power envelope.”

    — CUDA Programming Guide: Introduction

  6. CUDA treats a server as two kinds of processors. The CUDA Programming Guide calls the CPU and its directly connected memory the host and host memory, and a GPU and its memory the device and device memory. Host code on the CPU uses CUDA APIs to copy data between host and device memory and to start GPU code.

    What NVIDIA says (3)

    “The CPU and the memory directly connected to it are called the host and host memory , respectively.”

    — CUDA Programming Guide: Programming Model

    “A GPU and the memory directly connected to it are referred to as the device and device memory , respectively.”

    — CUDA Programming Guide: Programming Model

    “The host code, which is the code that runs on the CPU, can use CUDA APIs to copy data between the host memory and device memory, start code executing on the GPU, and wait for data copies or GPU code to complete.”

    — CUDA Programming Guide: Programming Model

  7. CUDA reuses the word 'kernel' for historical reasons. The Programming Guide says a function invoked for execution on the GPU is called a kernel. Launching a kernel can be thought of as starting many threads that execute the kernel code in parallel on the GPU.

    What NVIDIA says (2)

    “The code an application executes on the GPU is referred to as device code , and a function that is invoked for execution on the GPU is, for historical reasons, called a kernel .”

    — CUDA Programming Guide: Programming Model

    “A kernel launch can be thought of as starting many threads executing the kernel code in parallel on the GPU.”

    — CUDA Programming Guide: Programming Model

  8. A kernel launch often has millions of threads. The Programming Guide groups them into thread blocks, and the blocks make up a grid. All threads of a block run on a single streaming multiprocessor (SM), so they can communicate and synchronize efficiently through on-chip shared memory.

    What NVIDIA says (3)

    “A block of threads is referred to, perhaps unsurprisingly, as a thread block .”

    — CUDA Programming Guide: Programming Model

    “All threads of a thread block are executed in a single SM.”

    — CUDA Programming Guide: Programming Model

    “Threads within a thread block all have access to the on-chip shared memory, which can be used for exchanging information between threads of a thread block.”

    — CUDA Programming Guide: Programming Model

  9. SIMT means Single-Instruction Multiple-Threads. The Programming Guide says threads in a block are organized into warps of 32. All threads in a warp execute the same instruction at the same time. If some threads follow a branch and others do not, the others are masked off while the branch runs.

    What NVIDIA says (3)

    “Warps and SIMT # Within a thread block, threads are organized into groups of 32 threads called warps .”

    — CUDA Programming Guide: Programming Model

    “All threads in the warp execute the same instruction simultaneously.”

    — CUDA Programming Guide: Programming Model

    “If some threads within a warp follow a control flow branch in execution while others do not, the threads which do not follow the branch will be masked off while the threads which follow the branch are executed.”

    — CUDA Programming Guide: Programming Model

  10. The CUDA Programming Guide says the GPU can be considered a collection of SMs organized into groups called GPCs. Each SM contains many functional units. This contrasts with a CPU, which typically has several cores and a memory controller.

    What NVIDIA says (2)

    “For the purposes of CUDA programming, the GPU can be considered to be a collection of Streaming Multiprocessors (SMs) which are organized into groups called Graphics Processing Clusters (GPCs).”

    — CUDA Programming Guide: Programming Model

    “A CPU typically has several cores and a memory controller which connects to the system memory.”

    — CUDA Programming Guide: Programming Model

  11. Amdahl's Law puts an upper bound on speedup for a fixed problem size. NVIDIA's guide says the larger the parallelizable portion P, the greater the potential speedup. If P is small, adding processors does little. With 50% serial work, the run can never be more than about twice as fast, however many GPUs you add.

    What NVIDIA says (3)

    “Strong scaling is usually equated with Amdahl’s Law, which specifies the maximum speedup that can be expected by parallelizing portions of a serial program.”

    — CUDA C++ Best Practices Guide

    “For most purposes, the key point is that the larger the parallelizable portion P is, the greater the potential speedup.”

    — CUDA C++ Best Practices Guide

    “Conversely, if P is a small number (meaning that the application is not substantially parallelizable), increasing the number of processors N does little to improve performance.”

    — CUDA C++ Best Practices Guide

  12. Host and device have separate memories, so data must be copied between them. NVIDIA's guide says these transfers are costly and should be minimized, and the complexity of the work should justify moving the data. A relatively slow kernel can still be worth it if it avoids one or more transfers.

    What NVIDIA says (2)

    “These transfers are costly in terms of performance and should be minimized. (See Data Transfer Between Host and Device .) This cost has several ramifications: The complexity of operations should justify the cost of moving data to and from the device.”

    — CUDA C++ Best Practices Guide

    “Even a relatively slow kernel may be advantageous if it avoids one or more transfers between host and device memory.”

    — CUDA C++ Best Practices Guide

  13. CPUs and GPUs differ in threading model and have separate memories. NVIDIA's guide says applications built with these differences in mind can treat host and device as one cohesive heterogeneous system, with each doing the work it does best: sequential work on the host, parallel work on the device.

    What NVIDIA says (1)

    “Applications composed with these differences in mind can treat the host and device together as a cohesive heterogeneous system wherein each processing unit is leveraged to do the kind of work it does best: sequential work on the host and parallel work on the device. 3.2.”

    — CUDA C++ Best Practices Guide

Key terms: Mixed precision Tensor Core Graphics processing unit Accelerated computing

Try it: AI, ML & DL Foundations

Practice 1.8 (13 questions) Objective page