Skip to content

Commit

Permalink
Remove previous TRT version
Browse files Browse the repository at this point in the history
  • Loading branch information
krishung5 committed Oct 11, 2023
1 parent 02e8b65 commit 3df0787
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,10 @@ def dockerfile_prepare_container_linux(argmap, backends, enable_gpu, target_mach
df += """
WORKDIR /workspace
# Remove previous TRT installation
RUN apt-get remove --purge -y tensorrt* libnvinfer*
RUN pip uninstall -y tensorrt
# Install new version of TRT using the script from TRT-LLM
RUN apt-get update && apt-get install -y --no-install-recommends python-is-python3
RUN git clone --single-branch --depth=1 -b {} https://{}:{}@gitlab-master.nvidia.com/ftp/tekit_backend.git tensorrtllm_backend
Expand Down

0 comments on commit 3df0787

Please sign in to comment.