Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 356 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 356 Bytes

C++ API

Targets in module create the user facing C++ library for the Torch-TensorRT core.

Building libtorchtrt.so

Debug build

bazel build //cpp/lib:libtorchtrt.so --compilation_mode=dbg

Release build

bazel build //cpp/lib:libtorchtrt.so -c opt

Usage

#include "torch_tensorrt/torch_tensorrt.h"