@@ -13,7 +13,7 @@ version = v"1.10.0"
1313# Cf. https://onnxruntime.ai/docs/execution-providers/TensorRT-ExecutionProvider.html#requirements
1414cuda_versions = [
1515 v " 10.2" ,
16- v " 11.4 " ,
16+ v " 11.3 " ,
1717]
1818cudnn_version = v " 8.2.4"
1919tensorrt_version = v " 8.0.1"
@@ -142,9 +142,16 @@ for cuda_version in [nothing, cuda_versions...], platform in platforms
142142 platform_dependencies = BinaryBuilder. AbstractDependency[]
143143 append! (platform_dependencies, dependencies)
144144 if ! isnothing (cuda_version)
145- append! (platform_dependencies, CUDA. required_dependencies (augmented_platform))
145+ if Base. thisminor (cuda_version) != v " 11.3"
146+ append! (platform_dependencies, CUDA. required_dependencies (augmented_platform))
147+ else
148+ append! (platform_dependencies, [
149+ BuildDependency (PackageSpec (" CUDA_full_jll" , v " 11.3.1" )),
150+ Dependency (" CUDA_Runtime_jll" , v " 0.7.0" ), # Using Dependency with build version v"0.7.0" to get support for cuda = "11.3"
151+ ])
152+ end
146153 append! (platform_dependencies, [
147- Dependency (" CUDNN_jll" , cudnn_version ; compat = cudnn_compat),
154+ Dependency (get_addable_spec ( " CUDNN_jll" , v " 8.2.4+0 " ) ; compat = cudnn_compat), # Using v"8.2.4+0" to get support for cuda = "11.3"
148155 Dependency (" TensorRT_jll" , tensorrt_version; compat = tensorrt_compat),
149156 Dependency (" Zlib_jll" ),
150157 ])
0 commit comments