ONNX Runtime | CUDA | cuDNN |
---|---|---|
1.14 1.13.1 1.13 | 11.6 | 8.2.4 (Linux) 8.5.0.96 (Windows) |
1.12 1.11 | 11.4 | 8.2.4 (Linux) 8.2.2.26 (Windows) |
1.10 | 11.4 | 8.2.4 (Linux) 8.2.2.26 (Windows) |
1.9 | 11.4 | 8.2.4 (Linux) 8.2.2.26 (Windows) |
1.8 | 11.0.3 | 8.0.4 (Linux) 8.0.2.39 (Windows) |
1.7 | 11.0.3 | 8.0.4 (Linux) 8.0.2.39 (Windows) |
1.5-1.6 | 10.2 | 8.0.3 |
1.2-1.4 | 10.1 | 7.6.5 |
1.0-1.1 | 10.0 | 7.6.4 |
这是官方提供的版本对应,我目前在维护的是1.14.1,工作电脑使用的是CUDA11.3,但官方显示支持的最低版本是是11.6,这里我就疑惑为什么我使用没有任何问题.知道发现官方附了一句话:
Note: Because of CUDA Minor Version Compatibility, Onnx Runtime built with CUDA 11.4 should be compatible with any CUDA 11.x version. Please reference Nvidia CUDA Minor Version Compatibility.
翻译一下就是
由于CUDA次要版本兼容性,使用CUDA 11.4构建的Onnx运行时应该与任何CUDA 11兼容x版本。
这里就明白了