Skip to content

Commit c8a5043

Browse files
authored
Update for 10.5-GA (#4185)
* Updated submodule onnx to 10.5 Signed-off-by: Michal Guzek <[email protected]> * Updated files to 10.5 Signed-off-by: Michal Guzek <[email protected]> * Restore the previous .gitmodules Signed-off-by: Michal Guzek <[email protected]> * .gitmodules new line Signed-off-by: Michal Guzek <[email protected]> * Update public docker files Signed-off-by: Michal Guzek <[email protected]> * Update 10.5 oss deleted files Signed-off-by: Michal Guzek <[email protected]> * Update deprecated APIs Signed-off-by: Michal Guzek <[email protected]> --------- Signed-off-by: Michal Guzek <[email protected]>
1 parent 08ad45b commit c8a5043

File tree

83 files changed

+5964
-2928
lines changed

Some content is hidden

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

83 files changed

+5964
-2928
lines changed

CHANGELOG.md

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

3-
## 10.4.0 GA - 2024-09-11
3+
4+
## 10.5.0 GA - 2024-09-30
5+
Key Features and Updates:
6+
7+
- Demo changes
8+
- Added [Flux.1-dev](demo/Diffusion) pipeline
9+
- Sample changes
10+
- None
11+
- Plugin changes
12+
- Migrated `IPluginV2`-descendent versions of `bertQKVToContextPlugin` (1, 2, 3) to newer versions (4, 5, 6 respectively) which implement `IPluginV3`.
13+
- Note:
14+
- The newer versions preserve the attributes and I/O of the corresponding older plugin version
15+
- The older plugin versions are deprecated and will be removed in a future release
16+
- Quickstart guide
17+
- None
18+
- Parser changes
19+
- Added support for real-valued `STFT` operations
20+
- Improved error handling in `IParser`
21+
22+
Known issues:
23+
24+
- Demos:
25+
- TensorRT engine might not be build successfully when using `--fp8` flag on H100 GPUs.
26+
27+
## 10.4.0 GA - 2024-09-18
428
Key Features and Updates:
529

630
- Demo changes

CMakeLists.txt

+7-4
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,11 @@ endif()
158158

159159
find_library_create_target(nvinfer ${nvinfer_lib_name} SHARED ${TRT_LIB_DIR})
160160

161-
find_library(CUDART_LIB cudart_static HINTS ${CUDA_TOOLKIT_ROOT_DIR} PATH_SUFFIXES lib lib/x64 lib64)
161+
if (DEFINED USE_CUGFX)
162+
find_library(CUDART_LIB cugfx_dll HINTS ${CUDA_TOOLKIT_ROOT_DIR} PATH_SUFFIXES lib lib/x64 lib64)
163+
else()
164+
find_library(CUDART_LIB cudart_static HINTS ${CUDA_TOOLKIT_ROOT_DIR} PATH_SUFFIXES lib lib/x64 lib64)
165+
endif()
162166

163167
if (NOT MSVC)
164168
find_library(RT_LIB rt)
@@ -174,7 +178,6 @@ if (DEFINED GPU_ARCHS)
174178
separate_arguments(GPU_ARCHS)
175179
else()
176180
list(APPEND GPU_ARCHS
177-
70
178181
75
179182
)
180183

@@ -202,7 +205,7 @@ endif()
202205
set(BERT_GENCODES)
203206
# Generate SASS for each architecture
204207
foreach(arch ${GPU_ARCHS})
205-
if (${arch} GREATER_EQUAL 70)
208+
if (${arch} GREATER_EQUAL 75)
206209
set(BERT_GENCODES "${BERT_GENCODES} -gencode arch=compute_${arch},code=sm_${arch}")
207210
endif()
208211
set(GENCODES "${GENCODES} -gencode arch=compute_${arch},code=sm_${arch}")
@@ -211,7 +214,7 @@ endforeach()
211214
# Generate PTX for the last architecture in the list.
212215
list(GET GPU_ARCHS -1 LATEST_SM)
213216
set(GENCODES "${GENCODES} -gencode arch=compute_${LATEST_SM},code=compute_${LATEST_SM}")
214-
if (${LATEST_SM} GREATER_EQUAL 70)
217+
if (${LATEST_SM} GREATER_EQUAL 75)
215218
set(BERT_GENCODES "${BERT_GENCODES} -gencode arch=compute_${LATEST_SM},code=compute_${LATEST_SM}")
216219
endif()
217220

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can skip the **Build** section to enjoy TensorRT with Python.
2626
To build the TensorRT-OSS components, you will first need the following software packages.
2727

2828
**TensorRT GA build**
29-
* TensorRT v10.4.0.26
29+
* TensorRT v10.5.0.18
3030
* Available from direct download links listed below
3131

3232
**System Packages**
@@ -73,25 +73,25 @@ To build the TensorRT-OSS components, you will first need the following software
7373
If using the TensorRT OSS build container, TensorRT libraries are preinstalled under `/usr/lib/x86_64-linux-gnu` and you may skip this step.
7474

7575
Else download and extract the TensorRT GA build from [NVIDIA Developer Zone](https://developer.nvidia.com) with the direct links below:
76-
- [TensorRT 10.4.0.26 for CUDA 11.8, Linux x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.4.0/tars/TensorRT-10.4.0.26.Linux.x86_64-gnu.cuda-11.8.tar.gz)
77-
- [TensorRT 10.4.0.26 for CUDA 12.6, Linux x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.4.0/tars/TensorRT-10.4.0.26.Linux.x86_64-gnu.cuda-12.6.tar.gz)
78-
- [TensorRT 10.4.0.26 for CUDA 11.8, Windows x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.4.0/zip/TensorRT-10.4.0.26.Windows.win10.cuda-11.8.zip)
79-
- [TensorRT 10.4.0.26 for CUDA 12.6, Windows x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.4.0/zip/TensorRT-10.4.0.26.Windows.win10.cuda-12.6.zip)
76+
- [TensorRT 10.5.0.18 for CUDA 11.8, Linux x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.5.0/tars/TensorRT-10.5.0.18.Linux.x86_64-gnu.cuda-11.8.tar.gz)
77+
- [TensorRT 10.5.0.18 for CUDA 12.6, Linux x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.5.0/tars/TensorRT-10.5.0.18.Linux.x86_64-gnu.cuda-12.6.tar.gz)
78+
- [TensorRT 10.5.0.18 for CUDA 11.8, Windows x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.5.0/zip/TensorRT-10.5.0.18.Windows.win10.cuda-11.8.zip)
79+
- [TensorRT 10.5.0.18 for CUDA 12.6, Windows x86_64](https://developer.nvidia.com/downloads/compute/machine-learning/tensorrt/10.5.0/zip/TensorRT-10.5.0.18.Windows.win10.cuda-12.6.zip)
8080

8181

8282
**Example: Ubuntu 20.04 on x86-64 with cuda-12.6**
8383

8484
```bash
8585
cd ~/Downloads
86-
tar -xvzf TensorRT-10.4.0.26.Linux.x86_64-gnu.cuda-12.6.tar.gz
87-
export TRT_LIBPATH=`pwd`/TensorRT-10.4.0.26
86+
tar -xvzf TensorRT-10.5.0.18.Linux.x86_64-gnu.cuda-12.6.tar.gz
87+
export TRT_LIBPATH=`pwd`/TensorRT-10.5.0.18
8888
```
8989

9090
**Example: Windows on x86-64 with cuda-12.6**
9191

9292
```powershell
93-
Expand-Archive -Path TensorRT-10.4.0.26.Windows.win10.cuda-12.6.zip
94-
$env:TRT_LIBPATH="$pwd\TensorRT-10.4.0.26\lib"
93+
Expand-Archive -Path TensorRT-10.5.0.18.Windows.win10.cuda-12.6.zip
94+
$env:TRT_LIBPATH="$pwd\TensorRT-10.5.0.18\lib"
9595
```
9696

9797
## Setting Up The Build Environment

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10.4.0.26
1+
10.5.0.18

0 commit comments

Comments
 (0)