Skip to main content

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​

  1. Agents and agent sandboxesOpenShell, NemoClaw
  2. Inference servingDynamo-Triton, Dynamo, NIM, TensorRT-LLM, vLLM, SGLang
  3. Frameworks and model filesPyTorch, NeMo, Megatron, NVFLARE, pickle and safetensors
  4. Orchestration and operationsKubernetes device plugin, GPU Operator, KAI Scheduler and Run:ai, Ray, DCGM
  5. Container start-upNVIDIA Container Toolkit, CDI and OCI hooks
  6. CUDA runtime and librariesCUDA, cuBLAS, cuDNN, NCCL, CUDA Toolkit tools
  7. Kernel driver and virtualizationnvidia.ko, Unified Virtual Memory, vGPU Manager, MIG
  8. 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.

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.

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.

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.

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.

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.

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​

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.