CUDA Toolkit and Compatible Driver Versions - CUDA 工具包和兼容的驱动程序版本

CUDA Toolkit and Compatible Driver Versions - CUDA 工具包和兼容的驱动程序版本

NVIDIA CUDA Toolkit Release Notes
https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html

1. CUDA Toolkit Major Components -> CUDA Driver

Running a CUDA application requires the system with at least one CUDA capable GPU and a driver that is compatible with the CUDA Toolkit. See Table 1. For more information various GPU products that are CUDA capable, visit https://developer.nvidia.com/cuda-gpus.
运行 CUDA 应用程序需要系统至少具有一个支持 CUDA 的 GPU 和一个与 CUDA Toolkit 兼容的驱动程序。请参阅表 1. 有关具有 CUDA 功能的各种 GPU 产品的更多信息,请访问 https://developer.nvidia.com/cuda-gpus

Each release of the CUDA Toolkit requires a minimum version of the CUDA driver. The CUDA driver is backward compatible, meaning that applications compiled against a particular version of the CUDA will continue to work on subsequent (later) driver releases. More information on compatibility can be found at https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/index.html#cuda-runtime-and-driver-api-version.
每个版本的 CUDA Toolkit 都需要最低版本的 CUDA 驱动程序。CUDA 驱动程序是向后兼容的,这意味着针对特定版本的 CUDA 编译的应用程序将继续在后续 (稍后) 驱动程序版本上运行。有关兼容性的更多信息,请访问 https://docs.nvidia.com/cuda/cuda-c-best-practices-guide/index.html#cuda-runtime-and-driver-api-version

在这里插入图片描述

CUDA 版本和 NVIDIA 驱动版本的兼容性 - CUDA 工具包和兼容的驱动程序版本

For convenience, the NVIDIA driver is installed as part of the CUDA Toolkit installation. Note that this driver is for development purposes and is not recommended for use in production with Tesla GPUs. For running CUDA applications in production with Tesla GPUs, it is recommended to download the latest driver for Tesla GPUs from the NVIDIA driver downloads site at http://www.nvidia.com/drivers.
为方便起见,NVIDIA 驱动程序是作为 CUDA Toolkit 安装的一部分安装的。请注意,此驱动程序用于开发目的,不建议用于使用 Tesla GPU 的生产。要使用 Tesla GPU 在生产环境中运行 CUDA 应用程序,建议从 NVIDIA 驱动程序下载站点 http://www.nvidia.com/drivers 下载 Tesla GPU 的最新驱动程序。

During the installation of the CUDA Toolkit, the installation of the NVIDIA driver may be skipped on Windows (when using the interactive or silent installation) or on Linux (by using meta packages). For more information on customizing the install process on Windows, see https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#install-cuda-software - https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#package-manager-metas.
在安装 CUDA Toolkit 期间,可以在 Windows (使用交互式或静默安装时) 或 Linux (使用元数据包) 上跳过 NVIDIA 驱动程序的安装。有关在 Windows 上自定义安装过程的详细信息,请参阅 https://docs.nvidia.com/cuda/cuda-installation-guide-microsoft-windows/index.html#install-cuda-software - https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#package-manager-metas

根据引用的内容,CUDA Toolkit版本兼容性可以总结如下: - CUDA Driver版本(通过nvidia-smi命令查看)需要大于等于CUDA runtime版本(通过nvcc --version命令查看)。 - CUDA runtime版本需要大于等于CUDA Libraries版本(PyTorch附带下载的CUDA Toolkit版本)。 根据这些要求,可以确定兼容CUDA Toolkit版本。请注意,高版本的底层通常兼容版本的上层,但反之则不一定成立。因此,为了确保兼容性,需要选择合适的CUDA Toolkit版本,以满足上述要求。 例如,如果您的CUDA Driver版本是11.4,这意味着您的CUDA runtime版本应该是11.4或更低。然后,您可以通过访问PyTorch官方网站上的历史版本页面,找到附带小于等于11.4的CUDA Toolkit(不完整版)。 希望这能帮助您确定兼容CUDA Toolkit版本。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [CUDA Toolkit and Compatible Driver Versions - CUDA 工具包兼容驱动程序版本](https://blog.csdn.net/chengyq116/article/details/93765723)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* *3* [图文并茂讲解CUDA, CUDA Toolkit, CUDA Driver, CUDA Runtime, nvcc之间的关系及其版本兼容性](https://blog.csdn.net/tongjingqi_/article/details/129461512)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Yongqiang Cheng

梦想不是浮躁,而是沉淀和积累。

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值