models icon indicating copy to clipboard operation
models copied to clipboard

TensorRT 5 performance vs TF-TRT integration

Open vilmara opened this issue 7 years ago • 1 comments

trtvstftrt

System information

  • What is the top-level directory of the model you are using: workspace/nvidia-examples/inference
  • Have I written custom code (as opposed to using a stock example script provided in TensorFlow): no
  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 16.04.5 LTS (GNU/Linux 4.4.0-133-generic x86_64)
  • TensorFlow installed from (source or binary): nvidia TensorFlow Container image 18.11-py3
  • TensorFlow version (use command below): TensorFlow 1.12.0-rc2
  • Bazel version (if compiling from source): n/a
  • CUDA/cuDNN version: 7.1.3 / 10
  • GPU model and memory: T4
  • Exact command to reproduce: python3 inference.py --model resnet_v1_50 --precision int8 --use_trt --cache --batch_size 16

Describe the problem

Why TF-TRT performs almost half of TRT throughout as shown in this plot?

vilmara avatar Dec 05 '18 23:12 vilmara

Hello, In this performance chart, the goal is to compare the middle two bars (325, 2657), implying there is a 8x speedup with TensorFlow + TensorRT integration. https://devblogs.nvidia.com/tensorrt-integration-speeds-tensorflow-inference/

msymp avatar Dec 27 '18 22:12 msymp