Skip to content

Commit

Permalink
Remove cudnn 8 installation
Browse files Browse the repository at this point in the history
  • Loading branch information
krishung5 committed Jun 17, 2024
1 parent b9be792 commit 8cb38a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,9 +1082,9 @@ def create_dockerfile_linux(
"""
if "tensorrtllm" in backends:
df += """
# Remove TRT contents that are not needed in runtime
RUN apt-get update && apt-get install -y libcudnn8-dev && ldconfig
RUN ldconfig
# Remove contents that are not needed in runtime
RUN ARCH="$(uname -i)" \\
&& rm -fr ${TRT_ROOT}/bin ${TRT_ROOT}/targets/${ARCH}-linux-gnu/bin ${TRT_ROOT}/data \\
&& rm -fr ${TRT_ROOT}/doc ${TRT_ROOT}/onnx_graphsurgeon ${TRT_ROOT}/python \\
Expand Down

0 comments on commit 8cb38a8

Please sign in to comment.