Skip to content

Commit

Permalink
fix: Reduce Linux package size
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronNg committed Jun 19, 2024
1 parent 8a885d6 commit 9a2f4a9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a2f4a9

Please sign in to comment.