cudaErrorInsufficientDriver
cuda
config_error
ai_generated
true
CUDA error: driver version is insufficient for CUDA runtime version (cudaErrorInsufficientDriver)
ID: cuda/cuda-driver-version-unsupported
90%Fix Rate
88%Confidence
1Evidence
2023-08-01First Seen
Version Compatibility
| Version | Status | Introduced | Deprecated | Notes |
|---|---|---|---|---|
| CUDA 12.2 | active | — | — | — |
| NVIDIA Driver 525.60.11 | active | — | — | — |
| Ubuntu 22.04 | active | — | — | — |
| PyTorch 2.1.0 | active | — | — | — |
Root Cause
The installed NVIDIA driver version is older than the minimum required by the CUDA runtime library loaded by the application.
generic中文
已安装的 NVIDIA 驱动程序版本低于应用程序加载的 CUDA 运行时库所需的最低版本。
Official Documentation
https://docs.nvidia.com/cuda/cuda-runtime-api/group__CUDART__TYPES.htmlWorkarounds
-
95% success sudo apt-get update && sudo apt-get install nvidia-driver-545
sudo apt-get update && sudo apt-get install nvidia-driver-545
-
85% success pip install torch==1.13.1 --index-url https://download.pytorch.org/whl/cu117
pip install torch==1.13.1 --index-url https://download.pytorch.org/whl/cu117
中文步骤
sudo apt-get update && sudo apt-get install nvidia-driver-545
pip install torch==1.13.1 --index-url https://download.pytorch.org/whl/cu117
Dead Ends
Common approaches that don't work:
-
100% fail
The driver remains at the old version; the runtime still detects incompatibility.
-
80% fail
Environment changes may cause library conflicts but do not fix the fundamental driver-runtime version mismatch.