mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
This PR fixes typos `Github` in `.md` and `.rst` files. `Github` -> `GitHub` Pull Request resolved: https://github.com/pytorch/pytorch/pull/88962 Approved by: https://github.com/kit1980 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| README.md | ||
| tensorrt_op_trt.cc | ||
| tensorrt_op_trt.h | ||
| tensorrt_tranformer.cc | ||
| tensorrt_tranformer.h | ||
| trt_utils.cc | ||
| trt_utils.h | ||
Caffe2 & TensorRT integration
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.