-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed as not planned
Labels
feature requestNew feature or request. This includes new model, dtype, functionality supportNew feature or request. This includes new model, dtype, functionality supportstalewaiting for feedback
Description
🚀 The feature, motivation and pitch
As of today, TRTLLM search for TRT (nvinfer) in the main cmake script:
TensorRT-LLM/cpp/CMakeLists.txt
Line 230 in a0e1604
| find_package(TensorRT 10 REQUIRED COMPONENTS OnnxParser) |
using this cmake find script:
| find_library( |
TRT static libs are available for long at least on Linux:
$ ll TensorRT-10.13.3.9/lib/lib*.a
-rw-r--r-- 1 wtambellini wtambellini 786164 Aug 23 21:28 TensorRT-10.13.3.9/lib/libnvinfer_dispatch_static.a
-rw-r--r-- 1 wtambellini wtambellini 1116797272 Aug 23 21:28 TensorRT-10.13.3.9/lib/libnvinfer_lean_static.a
-rw-r--r-- 1 wtambellini wtambellini 66965756 Aug 23 21:48 TensorRT-10.13.3.9/lib/libnvinfer_plugin_static.a
-rw-r--r-- 1 wtambellini wtambellini 5329757392 Aug 23 21:48 TensorRT-10.13.3.9/lib/libnvinfer_static.a
-rw-r--r-- 1 wtambellini wtambellini 360828 Aug 23 21:48 TensorRT-10.13.3.9/lib/libnvinfer_vc_plugin_static.a
-rw-r--r-- 1 wtambellini wtambellini 14287632 Aug 23 21:16 TensorRT-10.13.3.9/lib/libnvonnxparser_static.a
lrwxrwxrwx 1 wtambellini wtambellini 26 Aug 23 21:48 TensorRT-10.13.3.9/lib/libonnx_proto.a -> ./libnvonnxparser_static.a
Woud you mind if I add a cmake option to link with static TRT/nvinfer?
Best
WT
Alternatives
No response
Additional context
No response
Before submitting a new issue...
- Make sure you already searched for relevant issues, and checked the documentation and examples for answers to frequently asked questions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature requestNew feature or request. This includes new model, dtype, functionality supportNew feature or request. This includes new model, dtype, functionality supportstalewaiting for feedback