Commit Graph

20 Commits

Author SHA1 Message Date
Asfiya Baig d3107c885a TensorRT 10.0 GA Release
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com>
2024-04-30 10:00:50 -07:00
Asfiya Baig 147005ffe1 TensorRT 10.0 Release
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com>
2024-04-02 17:06:37 -07:00
Ilya Sherstyuk c89bc8368a Update TensorRT to 8.6.1
Signed-off-by: Ilya Sherstyuk <isherstyuk@nvidia.com>
2023-05-04 20:53:55 -07:00
Ilya Sherstyuk eb2f188c55 Run clang-format on all .cpp and .h plugin code
Signed-off-by: Shuyue Lan <shuyuel@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2023-03-16 20:53:29 -07:00
Samurdhi Karunaratne 3efb69b291 Support class-independent NMS with new parameter in efficientNMSPlugin
Also adds goldenIO testcases: one for class agnostic NMS and another for class aware NMS.
With this, golden_io_snippet.py is also modified to support checking for multiple
plugin outputs.

	Adds `class_agnostic` parameter to `EfficientNMS_TRT` plugin:

	 - Some object detection networks/architectures like YOLO series need to
	 use class-independent NMS operations.
	 - If `class_agnostic` is enabled, class-independent NMS is performed;
	 otherwise, different classes would do NMS separately.

	Signed-off-by: Samurdhi Karunaratne <skarunaratne@nvidia.com>

Signed-off-by: Shuyue Lan <shuyuel@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2023-03-16 20:53:29 -07:00
Ilya Sherstyuk 6e3eac473c Various minor updates for plugins - part 3
Shorter plugin attribute test definitions
Fix incorrect names of some deserialize methods
Memory issues in PriorBoxPlugin

Signed-off-by: Shuyue Lan <shuyuel@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2023-03-16 20:53:29 -07:00
Micah Villmow 0c757dd67f cppcheck fixes part 7
Signed-off-by: Shuyue Lan <shuyuel@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2023-03-16 20:53:29 -07:00
Jin Li (Engrg-Hardware 1) e8d5e1671f Various minor fixes for plugins
Limit output_dims == W[1] for plugin test
update embLayernorm plugin doc
Remove else after return as they are not required.
Fix FlattenConcat plugin readme

Signed-off-by: Shuyue Lan <shuyuel@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2023-03-15 17:38:49 -07:00
Hongyu Miao efaf76b2eb fixed warnings reported by Clang-tidy bugprone-branch-clone
Signed-off-by: Shuyue Lan <shuyuel@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2023-03-15 17:38:49 -07:00
asfiyab-nvidia b0c259a749 TensorRT OSS - 8.5.3.1 Release (#2630)
Signed-off-by: Asfiya Baig <asfiyab@nvidia.com>
2023-02-03 12:26:51 -08:00
Simeng Liu 1d6bf36034 TensorRT 8.5.1 OSS Release
Update tools including onnx-graphsurgeon(v0.3.25), Polygraphy(v0.43.1), tensorflow-quantization(v0.2.0)
Update onnx-tensorrt(8.5GA)
Mass merge sample, plugin, demo, python changes for TRT-8.5 GA release
Update demoBERT benchmark data for TensorRT 8.5.1

Signed-off-by: Simeng Liu <simengl@nvidia.com>

Signed-off-by: Simeng Liu <simengl@nvidia.com>
2022-11-02 16:43:34 -07:00
Samurdhi Karunaratne d03715dbbb Add configs & enable attribute tests for some plugins
Attribute tests have been enabled for the following plugins:
- ClipPlugin
- CropAndResizePlugin
- DetectionLayer
- EfficientNMSPlugin
- FlattenConcat
- GenerateDetection
- GroupNormalizationPlugin
- LReLU
- MultilevelCropAndResize
- MultilevelProposeROI
- PillarScatterPlugin
- ProposalLayer
- Reorg
- ResizeNearest

Config YAML files have also been added for the same plugins.

Signed-off-by: samurdhi karunaratne <skarunaratne@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2022-06-14 14:23:17 -07:00
Rajeev Rao 60d62e66d2 Replace behavior of PLUGIN_ASSERT for attribute tests
This graceful failure is needed to enable tests under `trt_mod_test`.

`PLUGIN_ASSERT` is used in many places inside plugin methods, most of
which are `noexcept` and do not contain try-catch blocks. So changing
`PLUGIN_ASSERT` would require a major refactor which is beyond
rel-8.4.  Instead, this MR introduces `PLUGIN_VALIDATE` as a temporary
replacement for `PLUGIN_ASSERT` in places where it is required to enable
valid/invalid attribute tests (mostly `createPlugin` and plugin constructors).
i.e. `PLUGIN_VALIDATE` implements the expected behavior of `PLUGIN_ASSERT`
(throws) while `PLUGIN_ASSERT` still aborts.

Signed-off-by: samurdhi karunaratne <skarunaratne@nvidia.com>
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2022-06-14 14:23:17 -07:00
Rajeev Rao 09dce45f91 TensorRT plugins updates for rel-8.4
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2022-06-14 14:23:17 -07:00
Rajeev Rao 052281f0ab Update copyright headers with SPDX identifiers
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2022-04-13 18:16:54 -07:00
William Raveane 9a8f5b92c1 EfficientNMS TFTRT Plugin Updates
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2022-02-04 08:23:59 -08:00
Vincent Huang 6f38570b74 TensorRT-OSS 8.2 GA release
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2021-11-24 10:15:53 -08:00
William Raveane 532557026e EfficientNMS: Dynamic Input Shape
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2021-09-22 12:55:39 -07:00
Stephan Seitz 5a44e7b7c9 Fix assertion in EfficientNMSPlugin
Documentation states:
```cpp
    // Shape of boxes input should be
    // [batch_size, num_boxes, 4] or [batch_size, num_boxes, 1, 4] or [batch_size, num_boxes, num_classes, 4]
```
however, the second possibility `[batch_size, num_boxes, 1, 4]` triggers a false positive in an
assertion. The third dimension must be either equal to 1 or the number
of classes.

Signed-off-by: Stephan Seitz <sseitz@nvidia.com>
2021-09-22 10:24:46 -07:00
Rajeev Rao aff45dd565 TensorRT OSS 8.0 release
Signed-off-by: Rajeev Rao <rajeevrao@nvidia.com>
2021-07-02 16:35:44 -07:00