STT-tensorflow/tensorflow/compiler/tf2tensorrt
A. Unique TensorFlower 2638bb9920 [TF:TRT] Add support for per cluster maximum batch size.
Previously, with implicit batch mode, all the nodes inside the same graph uses the same max batch size. With this CL, users will be able to configure part of the nodes to use a different max batch size with an optional `_tftrt_op_max_batch_size` attribute on the node. Besides, all the static batch size will be treated in the same way as `_tftrt_op_max_batch_size` attribute annotation.

During segmentation, TF-TRT will avoid putting nodes with different annotated max batch size into the same cluster.
- For static engines, if any nodes inside the cluster are annotated with a customized max batch size, TF-TRT will use the customized max batch size to build a static engine. Otherwise, TF-TRT will use the default max batch size in convert parameters to build a static engine;
- For dynamic engines, TF-TRT will still use the batch size detected at runtime as the max batch size.

PiperOrigin-RevId: 338162727
Change-Id: I6aaf1157353676850dfb6c75b344149c55a8bc11
2020-10-20 16:49:30 -07:00
..
common [TF:TRT] Initialize TensorRT plugin registry before deserializing cuda engines. 2020-08-20 12:49:47 -07:00
convert [TF:TRT] Add support for per cluster maximum batch size. 2020-10-20 16:49:30 -07:00
kernels [TF:TRT] Initialize TensorRT plugin registry before deserializing cuda engines. 2020-08-20 12:49:47 -07:00
ops [TF:TRT] Add support for per cluster maximum batch size. 2020-10-20 16:49:30 -07:00
plugin [TF:TRT] Remove unused target plugin_cast. 2020-08-20 09:30:07 -07:00
segment [TF:TRT] Add support for per cluster maximum batch size. 2020-10-20 16:49:30 -07:00
stub Add TensorRT stub for 5.0 and 5.1. 2019-06-17 08:40:57 -07:00
utils [TF:TRT] Clean up the implementation for getting the TensorRT version. 2020-08-20 11:41:53 -07:00
BUILD Remove the alias for tensorflow/core/framework:tensor_testutil 2020-10-15 08:30:48 -07:00
tensorrt_test.cc [TF:TRT] Add #if to logger_registry.h for consistency. 2020-06-22 19:19:16 -07:00