Cleanup builds (#18372)

* Cleanup builds

* Uninstall onnxurntime not openvino
This commit is contained in:
Nicolas Mowen
2025-05-23 20:02:24 -06:00
committed by GitHub
parent 8274b733da
commit 6969a7fd47
2 changed files with 1 additions and 7 deletions

View File

@@ -92,7 +92,7 @@ RUN mkdir -p /etc/ld.so.conf.d && echo /usr/lib/ffmpeg/jetson/lib/ > /etc/ld.so.
COPY --from=trt-wheels /etc/TENSORRT_VER /etc/TENSORRT_VER
RUN --mount=type=bind,from=trt-wheels,source=/trt-wheels,target=/deps/trt-wheels \
--mount=type=bind,from=trt-model-wheels,source=/trt-model-wheels,target=/deps/trt-model-wheels \
pip3 uninstall -y onnxruntime-openvino \
pip3 uninstall -y onnxruntime \
&& pip3 install -U /deps/trt-wheels/*.whl /deps/trt-model-wheels/*.whl \
&& ldconfig