@@ -75,7 +75,6 @@ RUN apt-get update && \
7575 libtool \
7676 maven \
7777 openjdk-11-jdk \
78- perl \
7978 pkg-config \
8079 python3 \
8180 python3-dev \
@@ -86,8 +85,8 @@ RUN apt-get update && \
8685 rapidjson-dev \
8786 software-properties-common \
8887 vim \
89- wget && \
90- pip3 install --upgrade "grpcio-tools<1.68" cmake==4.0 .3
88+ wget &&
89+ pip3 install --upgrade "grpcio-tools<1.68" cmake==3.28 .3
9190
9291ENV CMAKE_POLICY_MINIMUM_REQUIRED=3.5
9392
@@ -129,8 +128,7 @@ RUN cmake -DCMAKE_INSTALL_PREFIX=/workspace/install \
129128 -DTRITON_ENABLE_JAVA_HTTP=ON \
130129 -DTRITON_ENABLE_EXAMPLES=ON -DTRITON_ENABLE_TESTS=ON \
131130 -DTRITON_ENABLE_GPU=${TRITON_ENABLE_GPU} /workspace/client
132- RUN make -j16 cc-clients java-clients && \
133- rm -fr ~/.m2
131+ RUN cmake -v --parallel cc-clients java-clients
134132
135133# TODO: PA will rebuild the CC clients since it depends on it.
136134# This should be optimized so that we do not have to build
@@ -148,6 +146,7 @@ RUN if [ "$TRITON_PERF_ANALYZER_BUILD" = "1" ]; then \
148146 -DTRITON_COMMON_REPO_TAG=${TRITON_COMMON_REPO_TAG} \
149147 -DTRITON_CORE_REPO_TAG=${TRITON_CORE_REPO_TAG} \
150148 -DTRITON_CLIENT_REPO_TAG=${TRITON_CLIENT_REPO_TAG} \
149+ -DTRITON_THIRD_PARTY_REPO_TAG=${TRITON_THIRD_PARTY_REPO_TAG} \
151150 -DTRITON_ENABLE_PERF_ANALYZER_C_API=ON \
152151 -DTRITON_ENABLE_PERF_ANALYZER_TFS=ON \
153152 -DTRITON_ENABLE_PERF_ANALYZER_TS=ON \
@@ -159,7 +158,7 @@ RUN if [ "$TRITON_PERF_ANALYZER_BUILD" = "1" ]; then \
159158 -DTRITON_PACKAGE_PERF_ANALYZER=ON \
160159 -DTRITON_ENABLE_GPU=${TRITON_ENABLE_GPU} \
161160 /workspace/perf_analyzer && \
162- make -j16 perf-analyzer python-clients && \
161+ cmake -v --parallel perf-analyzer python-clients && \
163162 pip3 install build && \
164163 cd /workspace/perf_analyzer/genai-perf && \
165164 python3 -m build --wheel --outdir /workspace/install/python; \
@@ -172,12 +171,13 @@ RUN if [ "$TRITON_PERF_ANALYZER_BUILD" = "1" ]; then \
172171 -DTRITON_REPO_ORGANIZATION=${TRITON_REPO_ORGANIZATION} \
173172 -DTRITON_COMMON_REPO_TAG=${TRITON_COMMON_REPO_TAG} \
174173 -DTRITON_CLIENT_REPO_TAG=${TRITON_CLIENT_REPO_TAG} \
174+ -DTRITON_THIRD_PARTY_REPO_TAG=${TRITON_THIRD_PARTY_REPO_TAG} \
175175 -DTRITON_ENABLE_PYTHON_HTTP=ON \
176176 -DTRITON_ENABLE_PYTHON_GRPC=ON \
177177 -DTRITON_PACKAGE_PERF_ANALYZER=ON \
178178 -DTRITON_ENABLE_GPU=${TRITON_ENABLE_GPU} \
179179 /workspace/perf_analyzer && \
180- make -j16 python-clients && \
180+ cmake -v --parallel python-clients && \
181181 mkdir -p /workspace/install/python && \
182182 cp /workspace/perf_analyzer/genai_perf-*.whl /workspace/install/python/; \
183183 fi
@@ -208,27 +208,27 @@ ARG TRITON_ENABLE_GPU
208208
209209RUN apt-get update && \
210210 apt-get install -y --no-install-recommends \
211- software-properties-common \
212211 curl \
212+ default-jdk \
213213 git \
214214 gperf \
215215 libb64-dev \
216216 libgoogle-perftools-dev \
217- libopencv-dev \
218217 libopencv-core-dev \
218+ libopencv-dev \
219219 libssl-dev \
220220 libtool \
221+ maven \
222+ perl \
221223 python3 \
222- python3-pip \
223224 python3-dev \
224- python3-wheel \
225+ python3-pdfkit \
226+ python3-pip \
225227 python3-setuptools \
228+ python3-wheel \
229+ software-properties-common \
226230 vim \
227- wget \
228- python3-pdfkit \
229- maven \
230- perl \
231- default-jdk && \
231+ wget && \
232232 pip3 install "grpcio<1.68" "grpcio-tools<1.68"
233233
234234WORKDIR /workspace
0 commit comments