Independent referenceSource-traced · reviewed 10 September 2026

Diagnostic guide

Why nvidia-smi and nvcc can show different CUDA versions

The short answer: the two commands usually report different layers. nvidia-smi describes the driver environment; nvcc belongs to a specific installed Toolkit.

Reviewed 10 September 2026How we verify claims

Two labels, two questions

nvidia-smi

What the driver can support

The displayed CUDA value is a driver capability indicator. It does not prove that the matching Toolkit is installed.

nvcc --version

Which compiler was invoked

This identifies the Toolkit compiler on the current path. Multiple toolkits or containers can complicate that lookup.

[32][41][42]

Compatibility is directional

A newer driver can often support applications built with older CUDA toolkits. Minor-version compatibility adds bounded behavior within a major toolkit family, subject to documented driver floors and feature limits. Forward-compatibility packages are a separate mechanism for qualified configurations.

“Newer” does not mean “every combination works.” Read the table that matches the driver, toolkit family, operating system, GPU, and application.

[32][33]

A no-install diagnostic checklist

  1. Record the exact GPU model and operating system.
  2. Record the driver version and the CUDA capability displayed by the driver tool.
  3. Record which nvcc executable is on the path, if any.
  4. Identify whether the application bundles its own CUDA runtime.
  5. Check the framework, cuDNN, or TensorRT support matrix.
  6. Change software only after the required combination is explicit.

This sequence gathers evidence. It is intentionally not an installation recipe.

[30][32][33][35][34]

Evidence trail

Sources used on this page

Source class describes ownership and form. It is not a reliability score.

  1. CUDA compatibility

    NVIDIA Documentation · Current documentation

    Official documentation
  2. nvidia-smi showing a different CUDA version

    NVIDIA Developer Forums · 2021

    Community example
  3. Different CUDA versions shown by nvcc and NVIDIA-SMI

    Stack Overflow · 2018

    Community example
  4. CUDA minor-version compatibility

    NVIDIA Documentation · Current documentation

    Official documentation
  5. CUDA GPUs and compute capability

    NVIDIA Developer · Current product lookup

    Official documentation
  6. cuDNN support matrix

    NVIDIA Documentation · Current documentation

    Official support matrix
  7. TensorRT support matrix

    NVIDIA Documentation · Current documentation

    Official support matrix

Links reviewed for this local corpus on . An inaccessible link does not erase the claim record; it triggers source maintenance.