tree: 73d8dd9c44599e815cdf211ad4ee8c7341b1fd34 [path history] [tgz]
  1. CMakeLists.txt
  2. README.md
  3. tensorrt_op_trt.cc
  4. tensorrt_op_trt.h
  5. tensorrt_tranformer.cc
  6. tensorrt_tranformer.h
  7. trt_utils.cc
  8. trt_utils.h
caffe2/contrib/tensorrt/README.md

Caffe2 & TensorRT integration

Jenkins Build Status

This directory contains the code implementing TensorRTOp Caffe2 operator as well as Caffe2 model converter (using ONNX model as an intermediate format). To enable this functionality in your PyTorch build please set

USE_TENSORRT=1 ... python setup.py ...

or if you use CMake directly

-DUSE_TENSORRT=ON

For further information please explore caffe2/python/trt/test_trt.py test showing all possible use cases.

Questions and Feedback

Please use Github issues (https://github.com/pytorch/pytorch/issues) to ask questions, report bugs, and request new features.