mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 09:07:10 +08:00
[Other] Use symbolic link pointed to TensorRT library (#1461)
* Add force rpath * update to dev-6 * remove force-rpath * remove nvinfer so * Add symbol link creation when import fastdeploy first * Add dst * update symbol link creation * Add logging * logging -> logger * update tips * Set logging level * Add --force-rpath
This commit is contained in:
@@ -183,12 +183,12 @@ def process_libraries(current_dir):
|
||||
remain = False
|
||||
filename = os.path.split(f)[-1]
|
||||
# Note(zhoushunjie): To add the trt libs below will increase the size of whl package by 450M.
|
||||
# if filename in [
|
||||
# "libnvinfer_plugin.so",
|
||||
# "libnvinfer.so", "libnvonnxparser.so",
|
||||
# "libnvparsers.so", "libnvcaffe_parser.so"
|
||||
# ]:
|
||||
# continue
|
||||
if filename in [
|
||||
"libnvinfer_plugin.so",
|
||||
"libnvinfer.so", "libnvonnxparser.so",
|
||||
"libnvparsers.so", "libnvcaffe_parser.so"
|
||||
]:
|
||||
continue
|
||||
|
||||
for lib_prefix in ["libnvinfer_plugin.so.8.",
|
||||
"libnvinfer.so.8.", "libnvonnxparser.so.8.",
|
||||
|
Reference in New Issue
Block a user