Unattended pip uninstall

This commit is contained in:
Piero Toffanin 2026-02-10 14:27:23 -05:00
parent 2837fb327b
commit a52c4cc108

View File

@ -34,7 +34,7 @@ RUN if [ "$with_models" = "true" ]; then \
RUN pip3 install Babel==2.12.1 && python3 scripts/compile_locales.py \
&& pip3 install "numpy<2" \
&& pip3 install . \
&& pip3 uninstall onnxruntime && pip3 install --no-cache-dir onnxruntime-gpu>=1.10.0 \
&& pip3 uninstall -y onnxruntime && pip3 install --no-cache-dir onnxruntime-gpu>=1.10.0 \
&& pip3 cache purge
# Depending on your cuda install you may need to uncomment this line to allow the container to access the cuda libraries