{
  "id": "tensorflow/cuda-driver-version-mismatch",
  "signature": "InternalError: CUDA driver version is insufficient for CUDA runtime version",
  "signature_zh": "InternalError：CUDA 驱动程序版本不足以支持 CUDA 运行时版本",
  "regex": "CUDA driver version is insufficient for CUDA runtime version",
  "domain": "tensorflow",
  "category": "install_error",
  "subcategory": null,
  "root_cause": "The installed NVIDIA driver is older than the version required by the CUDA toolkit that TensorFlow was compiled against.",
  "root_cause_type": "generic",
  "root_cause_zh": "安装的 NVIDIA 驱动程序版本低于 TensorFlow 编译所依赖的 CUDA 工具包所需版本。",
  "versions": [
    {
      "version": "tensorflow 2.15",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "tensorflow 2.16",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "tensorflow 2.17",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Reinstalling TensorFlow alone does not update the NVIDIA driver; the driver is a system-level component.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Installing a newer CUDA toolkit via conda often fails because it does not update the kernel-mode driver.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Update the NVIDIA driver to the required version. Check current driver with `nvidia-smi` and download the latest driver from https://www.nvidia.com/Download/index.aspx. For Ubuntu: `sudo apt update && sudo apt install nvidia-driver-545`.",
      "success_rate": 0.92,
      "how": "Update the NVIDIA driver to the required version. Check current driver with `nvidia-smi` and download the latest driver from https://www.nvidia.com/Download/index.aspx. For Ubuntu: `sudo apt update && sudo apt install nvidia-driver-545`.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Downgrade TensorFlow to a version compatible with the current driver. For example, use `pip install tensorflow==2.12.0` if the driver is older.",
      "success_rate": 0.7,
      "how": "Downgrade TensorFlow to a version compatible with the current driver. For example, use `pip install tensorflow==2.12.0` if the driver is older.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Update the NVIDIA driver to the required version. Check current driver with `nvidia-smi` and download the latest driver from https://www.nvidia.com/Download/index.aspx. For Ubuntu: `sudo apt update && sudo apt install nvidia-driver-545`.",
    "Downgrade TensorFlow to a version compatible with the current driver. For example, use `pip install tensorflow==2.12.0` if the driver is older."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://www.tensorflow.org/install/gpu",
  "official_doc_section": null,
  "error_code": "CUD",
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.92,
  "resolvable": "true",
  "first_seen": "2024-05-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}