mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-15 20:50:42 +00:00
Change the default behavior to link against the nvonnxparser library (onnx-tensorrt parser) that is included with the TensorRT package. Previously, the default behavior was to build and statically link against the OSS onnx-tensorrt parser. Historically, we wanted to incorporate the latest commits/fixes from OSS parser. These days the OSS parser is not significantly different from the included parser library so there is less reason to build against it by default. By linking with parser shared library from TensorRT library, the major benefit is it's much easier to build/link against a minor version update of TensorRT. And OnnxRuntime can be updated with a new TensorRT minor version by simply replacing TensorRT libraries with the newer version. (because the parser is no longer statically linked into onnxruntime) Added --use_tensorrt_oss_parser to build.py to support the previous default behavior. (build + static link OSS parser) |
||
|---|---|---|
| .. | ||
| android_custom_build | ||
| ci_build | ||
| doc | ||
| nuget | ||
| perf_view | ||
| python | ||