What You Will Be Able to Do
Most "the GPU does not work" tickets are not about the GPU. They are about two software layers that disagree on a version. This lesson lays out the layers between an application and an NVIDIA GPU, the rules that say which versions work together, and where each rule is documented, so that you can read a failure and name the layer at fault. The rules are quoted from NVIDIA's pages as read on 2026-10-21 (S19, S20, S21, S22, S62); the failures are cited or described, because the author has no NVIDIA GPU and no recorded run exists yet. The lesson says so wherever that applies.

Figure: the layers and the constraint between each pair. Read it from the bottom: the host owns the driver, the container brings its own CUDA libraries and engine build, and the toolkit connects the two.
The Layers
- The GPU. Hardware with a compute capability (for example 7.5 for a T4 and 9.0 for an H100) that each CUDA release supports or drops.
- The kernel driver. Installed on the host operating system, once
per machine, by the administrator. Its version number (for example
580.xx) is the first line of
nvidia-smi. It is the layer every other one depends on. - The CUDA runtime and libraries. The toolkit (
nvcc, headers) is for building; the runtime and libraries such as cuBLAS and cuDNN are what applications load. They come with the application or its container image, not with the driver. Since CUDA 13.4 on Linux and 13.1 on Windows the toolkit installer no longer bundles a driver at all (S21). - The framework or engine build. A vLLM wheel, a PyTorch wheel or a llama.cpp CUDA binary is compiled against one CUDA major version; the vLLM wheels, for example, are built with CUDA 12.9 (the GPU track lesson cites the page). The build's CUDA version is what must agree with the driver.
- The container runtime and the NVIDIA Container Toolkit. Docker
does not see a GPU by itself. The toolkit installs a runtime hook that
mounts the host driver's libraries into a container started with
--runtime=nvidia --gpus all, afternvidia-ctk runtime configure --runtime=dockerhas registered it (S22). - The container image with its CUDA libraries and engine build.
- The application.
The Rules
Minimum driver per CUDA major version. NVIDIA's release notes give a table for minor-version compatibility (S21):
| CUDA toolkit family | Minimum driver |
|---|---|
| 13.x | 580 or later |
| 12.x | 525 or later |
| 11.x | 450 or later |
Within a family, a newer driver always works; the table gives the floor. The release notes also list, for releases up to 12.9, the exact driver each release shipped with (12.9 Update 1: 575.57.08 on Linux, 576.57 on Windows), which is higher than the family floor. The floor is what minor- version compatibility guarantees; the exact version is what a release was tested with.
Minor-version compatibility. Since CUDA 11, an application built with any release in a major family runs on a driver that meets the family's floor, with some newer features unavailable (S19). So a wheel built with CUDA 12.9 runs on a 525 driver, but a 13.x wheel does not.
Forward compatibility. For data-centre GPUs, the cuda-compat
package lets an application built with a newer major version run on an
older driver branch, subject to platform and GPU support (S19). It is an
exception you install deliberately, not a default.
Driver branches and their lifetimes. Drivers ship in branches with support windows (S20, read 2026-09-09's version of the page): R580 is a long-term support branch until June 2028 and supports CUDA 13; R595 is a production branch until March 2027; R535, long-term support until June 2026, tops out at CUDA 12 without the forward-compatibility package; R610 is a new-feature branch until August 2026. A host on R535 cannot run a CUDA 13 build; the fix is a driver upgrade to a branch that supports 13, or the forward-compatibility package where the platform allows it.
Windows and WSL2. CUDA runs inside Windows Subsystem for Linux 2
with the Windows host driver only (R495 or later, Pascal or newer GPU);
you must not install a Linux display driver inside the WSL distribution,
and inside WSL you install only the toolkit packages that do not pull a
driver (S62). The guide also lists limitations: no full unified memory,
limited pinned memory, a reduced nvidia-smi, and --gpus all only
with Docker 19.03 and later.
Five Failures, Attributed
Each is a planted problem the diagnosis lesson returns to. Evidence here is cited or described, not recorded.
| Failure | Evidence | Layer | Rule and check |
|---|---|---|---|
| P09: a vLLM or llama.cpp build for CUDA 13.x on a host whose driver is 535 | The application fails to initialise CUDA and reports a driver-too-old condition; nvidia-smi shows Driver Version 535.xx | Driver | 13.x needs 580 or later (S21); upgrade the branch or use the forward-compatibility package where supported |
| P10: a container started without the NVIDIA runtime | Inside the container nvidia-smi is not found or no GPU is visible; on the host it works | Container toolkit | Install the toolkit, run nvidia-ctk runtime configure --runtime=docker, restart Docker, start with --runtime=nvidia --gpus all (S22) |
| P11: a Linux display driver installed inside WSL | CUDA inside WSL stops working after the install | Driver (WSL rule) | Only the Windows host driver is used; remove the Linux driver and reinstall only toolkit packages (S62) |
| A library built for CUDA 12.x on a 450 driver | The library reports an unsupported driver | Driver | 12.x needs 525 or later; 450 only satisfies 11.x (S21) |
| An image with a newer CUDA 12 minor than the host ever had | It runs | None | Minor-version compatibility: any 12.x build runs on a 12-family driver at or above 525 (S19) |
The check that resolves most of them is the first line of nvidia-smi
on the host (Driver Version and the highest CUDA version that driver
supports), compared with the CUDA version the engine build was compiled
for, which the engine's install page or pip show states.
The Task: Classify Five Cases
Goal: for each case below, name the layer and the rule, and write the one check that proves it.
nvidia-smion the host prints Driver Version 535.183.01; a container running a CUDA 13.4 build fails to start its engine.- The same container runs on a different host whose driver is 580.65.
- A developer on Windows 11 installed
nvidia-driver-5xxinside Ubuntu on WSL2 and nownvidia-smiin WSL reports no device. docker run --gpus all ubuntu nvidia-smifails with an unknown runtime error on a fresh Linux host that has the driver installed.- A PyTorch wheel built with CUDA 12.6 runs on a host whose driver was installed with CUDA 12.2 and never updated.
Success: cases 1 and 3 are driver-layer failures, case 4 is the toolkit layer, cases 2 and 5 are not failures; each answer cites the rule (floor of 580 for 13.x; the WSL host-driver rule; the toolkit registration; minor-version compatibility within 12.x).
Check Your Understanding
- Where does the CUDA runtime a container uses come from, and where does the driver come from?
- Which single command output answers "can this host run a CUDA 13 build", and which field in it?
- Why does the course say the toolkit installer "no longer bundles a driver", and what does that change for an administrator?
- What does minor-version compatibility promise, and what does it not?
Answers: (1) The runtime and libraries come with the application or its
image; the driver comes from the host. (2) nvidia-smi; the Driver
Version must be 580 or later. (3) Since 13.4 on Linux and 13.1 on Windows
the toolkit package does not install a driver (S21), so the driver must
be installed and upgraded on its own. (4) That any build within a major
family runs on a driver at or above the family's floor; not that a build
from a newer major family runs, and not that every new feature is
available.
Next
The next lesson reads nvidia-smi field by field, runs a container that
sees a GPU, and on your own machine lists the devices llama.cpp sees.