From 9a2f4a9dc59a33974e7638fcf510580a0d5c09cf Mon Sep 17 00:00:00 2001 From: CameronNguyen130820 Date: Wed, 19 Jun 2024 17:20:09 +0700 Subject: [PATCH] fix: Reduce Linux package size --- cpp/Makefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/cpp/Makefile b/cpp/Makefile index 78e2bc456..ab260e53f 100644 --- a/cpp/Makefile +++ b/cpp/Makefile @@ -46,21 +46,12 @@ else mkdir -p cortex.tensorrt-llm && \ cp ../../build/tensorrt_llm/cortex.tensorrt-llm/libengine.$(shell uname | tr '[:upper:]' '[:lower:]' | sed 's/darwin/dylib/;s/linux/so/') cortex.tensorrt-llm && \ cp /usr/local/tensorrt/targets/x86_64-linux-gnu/lib/libnvinfer.so.9 cortex.tensorrt-llm && \ - cp /usr/local/tensorrt/targets/x86_64-linux-gnu/lib/libnvinfer.so.9.3.0 cortex.tensorrt-llm && \ cp /usr/lib/x86_64-linux-gnu/libcudnn.so.8 cortex.tensorrt-llm && \ - cp /usr/lib/x86_64-linux-gnu/libcudnn.so.8.9.7 cortex.tensorrt-llm && \ cp /usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8 cortex.tensorrt-llm && \ - cp /usr/lib/x86_64-linux-gnu/libcudnn_ops_infer.so.8.9.7 cortex.tensorrt-llm && \ cp /home/runner/actions-runner/_work/cortex.tensorrt-llm/cortex.tensorrt-llm/cpp/build/tensorrt_llm/plugins/libnvinfer_plugin_tensorrt_llm.so cortex.tensorrt-llm && \ - cp /home/runner/actions-runner/_work/cortex.tensorrt-llm/cortex.tensorrt-llm/cpp/build/tensorrt_llm/plugins/libnvinfer_plugin_tensorrt_llm.so.9 cortex.tensorrt-llm && \ - cp /home/runner/actions-runner/_work/cortex.tensorrt-llm/cortex.tensorrt-llm/cpp/build/tensorrt_llm/plugins/libnvinfer_plugin_tensorrt_llm.so.9.3.0 cortex.tensorrt-llm && \ cp /home/runner/actions-runner/_work/cortex.tensorrt-llm/cortex.tensorrt-llm/cpp/build/tensorrt_llm/libtensorrt_llm.so cortex.tensorrt-llm && \ cp /opt/hpcx/ompi/lib/libmpi.so cortex.tensorrt-llm && \ - cp /opt/hpcx/ompi/lib/libmpi.so.40 cortex.tensorrt-llm && \ - cp /opt/hpcx/ompi/lib/libmpi.so.40.30.5 cortex.tensorrt-llm && \ - cp /usr/lib/x86_64-linux-gnu/libnccl.so cortex.tensorrt-llm && \ - cp /usr/lib/x86_64-linux-gnu/libnccl.so.2 cortex.tensorrt-llm && \ - cp /usr/lib/x86_64-linux-gnu/libnccl.so.2.19.3 cortex.tensorrt-llm + cp /usr/lib/x86_64-linux-gnu/libnccl.so cortex.tensorrt-llm endif codesign: