What Is the AI Runtime? The NVIDIA AI Stack, Layer by Layer
For executives
The AI runtime is everything that executes AI workloads in production: GPU firmware and drivers, the CUDA layer, the software that wires GPUs into containers, the schedulers that hand them out, the frameworks that train models and the servers and agents that serve them. It is where models run, where their weights and data sit in memory, and where attackers land. Most of it was built for performance, and most of it runs below or beside the operating system that security tools were designed to watch. NVIDIA alone published 413 CVEs across 78 security bulletins in 2026 (as of November 17, 2026), and all 15 rated Critical sat outside the GPU driver, in the software layers above it. This page maps the stack layer by layer and links to an explainer for each part.
The stack at a glance
- Agents and agent sandboxesOpenShell, NemoClaw
- Inference servingDynamo-Triton, Dynamo, NIM, TensorRT-LLM, vLLM, SGLang
- Frameworks and model filesPyTorch, NeMo, Megatron, NVFLARE, pickle and safetensors
- Orchestration and operationsKubernetes device plugin, GPU Operator, KAI Scheduler and Run:ai, Ray, DCGM
- Container start-upNVIDIA Container Toolkit, CDI and OCI hooks
- CUDA runtime and librariesCUDA, cuBLAS, cuDNN, NCCL, CUDA Toolkit tools
- Kernel driver and virtualizationnvidia.ko, Unified Virtual Memory, vGPU Manager, MIG
- Hardware and firmwareGPU and GSP, NVLink and NVSwitch, BlueField DPU, BMC
Each layer depends on every layer beneath it, and a compromise at any layer reaches the model running on top.
Hardware and firmware
GPUs carry their own firmware processor, the GPU System Processor (GSP), which the driver trusts. Servers add a baseboard management controller with its own network port, NVLink and NVSwitch fabrics that connect GPUs directly, and BlueField DPUs that enforce network isolation on a separate Arm computer. Flaws here sit below every operating-system tool.
- What NVIDIA's GPU System Processor is
- What a DPU is: NVIDIA BlueField, DOCA and the isolation layer with its own attack surface
- What a GPU is, and why it is architecturally different from a CPU
Kernel driver and virtualization
The NVIDIA kernel driver is one of the largest kernel modules in regular use, and every container that uses a GPU can reach it through device files. In NVIDIA's 2026 index, 134 CVEs fall in the display driver and vGPU software. MIG partitions a GPU in hardware; vGPU shares one between virtual machines through a host-side manager.
- What GPU drivers actually do
- How GPU memory works
- What MIG is, and what it does and does not guarantee
- vGPU vs MIG vs time-slicing
CUDA runtime and libraries
CUDA is the programming model behind almost every AI workload. Programs launch compiled kernels into CUDA contexts, the GPU's equivalent of processes, and the computation runs on the device where CPU-side tools cannot see it.
Container start-up
The NVIDIA Container Toolkit wires each GPU container to the host's driver, libraries and devices as it starts, through hooks that run as root on the host. It has produced five headline vulnerabilities since September 2024.
- What the NVIDIA Container Toolkit is, and how its hooks work
- How GPU containers differ from CPU containers
Orchestration and operations
Kubernetes allocates GPUs through the NVIDIA device plugin; the GPU Operator deploys and reconciles the driver, toolkit and plugins; KAI Scheduler and Run:ai share GPUs across teams; Ray runs distributed Python jobs; DCGM reports GPU health. These control planes hold broad permissions and often expose management APIs.
- How Kubernetes GPU scheduling works
- What the GPU Operator is
- What NVIDIA Run:ai is: KAI Scheduler, GPU fractions and why the scheduler is a security boundary
- What Ray is
- How Kubernetes namespace isolation fails for GPU workloads
- GPU telemetry explained: nvidia-smi, NVML and DCGM
Frameworks and model files
Training frameworks load checkpoints, datasets and configuration from shared storage and public hubs, and in Python, loading often means executing. NVIDIA's 2026 index lists 81 unsafe deserialization CVEs (CWE-502) across its AI software.
- What NVIDIA NeMo and Megatron are
- Model file formats: pickle, .pt, safetensors and GGUF, and which ones can run code
- What NVFLARE is
Inference serving
Inference servers load models, accept requests from every application that uses them, and run them on GPUs. NVIDIA Dynamo-Triton, formerly Triton Inference Server, alone received eight security bulletins in 2026, still published under the Triton Inference Server name.
- What NVIDIA Dynamo-Triton (Triton Inference Server) is
- What NVIDIA Dynamo is
- What NVIDIA NIM is
- Inference engines explained: TensorRT, TensorRT-LLM, vLLM and SGLang
Agents and agent sandboxes
AI agents run code and call tools chosen by a model, so they run inside sandboxes that limit what they can reach. NVIDIA's OpenShell and NemoClaw are deployed on GPU servers and workstations, which puts the GPU one boundary away from model-chosen code.
Across the stack
- What GPU confidential computing protects, and what it does not
- Who secures the GPU: shared responsibility in GPU clouds
- How to read NVIDIA's vulnerability scores when your GPUs are shared
- NVIDIA and the emerging field of AI accelerator security
Why security tools miss the AI runtime
Security tooling grew up watching CPU processes, syscalls and network flows. In the AI runtime, the work that matters happens elsewhere: inside GPU contexts the operating system cannot see, in hooks that run before a container exists, in firmware below the OS, and in framework code that turns data files into execution. Each layer above needs its own view, and the views only become useful when they are joined on one timeline and attributed to the process, container, pod and node that caused each event.