# CUDA 错误：驱动程序版本不足以支持 CUDA 运行时版本 (cudaErrorInsufficientDriver)

- **ID:** `cuda/cuda-driver-version-unsupported`
- **领域:** cuda
- **类别:** config_error
- **错误码:** `cudaErrorInsufficientDriver`
- **验证级别:** ai_generated
- **修复率:** 90%

## 根因

已安装的 NVIDIA 驱动程序版本低于应用程序加载的 CUDA 运行时库所需的最低版本。

## 版本兼容性

| 版本 | 状态 | 引入 | 弃用 |
|------|------|------|------|
| CUDA 12.2 | active | — | — |
| NVIDIA Driver 525.60.11 | active | — | — |
| Ubuntu 22.04 | active | — | — |
| PyTorch 2.1.0 | active | — | — |

## 解决方案

1. ```
   sudo apt-get update && sudo apt-get install nvidia-driver-545
   ```
2. ```
   pip install torch==1.13.1 --index-url https://download.pytorch.org/whl/cu117
   ```

## 无效尝试

- **** — The driver remains at the old version; the runtime still detects incompatibility. (100% 失败率)
- **** — Environment changes may cause library conflicts but do not fix the fundamental driver-runtime version mismatch. (80% 失败率)
