Skip to content

Commit d3107c8

Browse files
committedApr 30, 2024·
TensorRT 10.0 GA Release
Signed-off-by: Asfiya Baig <[email protected]>
1 parent 28733f0 commit d3107c8

File tree

853 files changed

+11169
-12121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

853 files changed

+11169
-12121
lines changed
 

‎CHANGELOG.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
# TensorRT OSS Release Changelog
22

3-
## 10.0.0 EA - 2024-04-02
3+
## 10.0.1 GA - 2024-04-30
4+
5+
Key Features and Updates:
6+
7+
- Parser changes
8+
- Added support for building with `protobuf-lite`.
9+
- Fixed issue when parsing and refitting models with nested `BatchNormalization` nodes.
10+
- Added support for empty inputs in custom plugin nodes.
11+
- Demo changes
12+
- The following demos have been removed: Jasper, Tacotron2, HuggingFace Diffusers notebook
13+
- Updated tooling
14+
- Polygraphy v0.49.10
15+
- ONNX-GraphSurgeon v0.5.2
16+
- Build Containers
17+
- Updated default cuda versions to `12.4.0`.
18+
- Added Rocky Linux 8 and Rocky Linux 9 build containers
19+
20+
## 10.0.0 EA - 2024-03-27
421

522
Key Features and Updates:
623

‎CMakeLists.txt

+27-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-FileCopyrightText: Copyright (c) 1993-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
# SPDX-License-Identifier: Apache-2.0
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -143,7 +143,20 @@ if(BUILD_PARSERS)
143143
configure_protobuf(${PROTOBUF_VERSION})
144144
endif()
145145

146-
find_library_create_target(nvinfer nvinfer SHARED ${TRT_LIB_DIR})
146+
# Windows library names have major version appended.
147+
if (MSVC)
148+
set(nvinfer_lib_name "nvinfer_${TRT_SOVERSION}")
149+
set(nvinfer_plugin_lib_name "nvinfer_plugin_${TRT_SOVERSION}")
150+
set(nvinfer_vc_plugin_lib_name "nvinfer_vc_plugin_${TRT_SOVERSION}")
151+
set(nvonnxparser_lib_name "nvonnxparser_${TRT_SOVERSION}")
152+
else()
153+
set(nvinfer_lib_name "nvinfer")
154+
set(nvinfer_plugin_lib_name "nvinfer_plugin")
155+
set(nvinfer_vc_plugin_lib_name "nvinfer_vc_plugin")
156+
set(nvonnxparser_lib_name "nvonnxparser")
157+
endif()
158+
159+
find_library_create_target(nvinfer ${nvinfer_lib_name} SHARED ${TRT_LIB_DIR})
147160

148161
find_library(CUDART_LIB cudart_static HINTS ${CUDA_TOOLKIT_ROOT_DIR} PATH_SUFFIXES lib lib/x64 lib64)
149162

@@ -165,7 +178,16 @@ else()
165178
75
166179
)
167180

168-
string(REGEX MATCH "aarch64" IS_ARM "${TRT_PLATFORM_ID}")
181+
find_file(IS_L4T_NATIVE nv_tegra_release PATHS /env/)
182+
set (IS_L4T_CROSS "False")
183+
if (DEFINED ENV{IS_L4T_CROSS})
184+
set(IS_L4T_CROSS $ENV{IS_L4T_CROSS})
185+
endif()
186+
187+
if (IS_L4T_NATIVE OR ${IS_L4T_CROSS} STREQUAL "True")
188+
# Only Orin (SM87) supported
189+
list(APPEND GPU_ARCHS 87)
190+
endif()
169191

170192
if (CUDA_VERSION VERSION_GREATER_EQUAL 11.0)
171193
# Ampere GPU (SM80) support is only available in CUDA versions > 11.0
@@ -206,13 +228,13 @@ endif()
206228
if(BUILD_PLUGINS)
207229
add_subdirectory(plugin)
208230
else()
209-
find_library_create_target(nvinfer_plugin nvinfer_plugin SHARED ${TRT_OUT_DIR} ${TRT_LIB_DIR})
231+
find_library_create_target(nvinfer_plugin ${nvinfer_plugin_lib_name} SHARED ${TRT_OUT_DIR} ${TRT_LIB_DIR})
210232
endif()
211233

212234
if(BUILD_PARSERS)
213235
add_subdirectory(parsers)
214236
else()
215-
find_library_create_target(nvonnxparser nvonnxparser SHARED ${TRT_OUT_DIR} ${TRT_LIB_DIR})
237+
find_library_create_target(nvonnxparser ${nvonnxparser_lib_name} SHARED ${TRT_OUT_DIR} ${TRT_LIB_DIR})
216238
endif()
217239

218240
if(BUILD_SAMPLES)

0 commit comments

Comments
 (0)