Skip to content

Commit

Permalink
python-libnvinfer is finally delivered properly on ARM64.
Browse files Browse the repository at this point in the history
  • Loading branch information
bashimao committed Sep 13, 2023
1 parent b1497a3 commit e2c9eff
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker/dockerfile.merlin
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ RUN ARCH=$([ "${TARGETARCH}" = "arm64" ] && echo "sbsa" || echo "x86_64") && \
python3 \
python3-pip \
python3-dev \
python3-libnvinfer \
rapidjson-dev \
tree \
wget \
Expand All @@ -211,11 +212,6 @@ RUN ARCH=$([ "${TARGETARCH}" = "arm64" ] && echo "sbsa" || echo "x86_64") && \
openssh-server \
# [ HugeCTR ]
libaio-dev && \
# NOTE: libnvinfer is installed anyway, just Python bindings are missing on ARM.
if [[ "$TARGETARCH" != "arm64" ]]; then \
# TensorRT dependencies
apt install -y --no-install-recommends python3-libnvinfer \
; fi && \
apt autoremove -y && \
apt clean && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit e2c9eff

Please sign in to comment.