Install no deps separately for wheel

This commit is contained in:
Nicolas Mowen 2024-09-17 10:40:13 -06:00
parent 350abda21a
commit 80020ec3c4
3 changed files with 4 additions and 1 deletions

View File

@ -170,6 +170,9 @@ RUN /build_pysqlite3.sh
COPY docker/main/requirements-wheels.txt /requirements-wheels.txt
RUN pip3 wheel --wheel-dir=/wheels -r /requirements-wheels.txt
COPY docker/main/requirements-wheels-nodeps.txt /requirements-wheels-nodeps.txt
RUN pip3 wheel --wheel-dir=/wheels --nodeps -r /requirements-wheels-nodeps.txt
# Collect deps in a single layer
FROM scratch AS deps-rootfs

View File

@ -0,0 +1 @@
onnx_clip == 4.0.*

View File

@ -33,7 +33,6 @@ openvino == 2024.1.*
onnxruntime-openvino == 1.18.* ; platform_machine == 'x86_64'
onnxruntime == 1.18.* ; platform_machine == 'aarch64'
# Embeddings
onnx_clip == 4.0.*
chromadb == 0.5.0
# Generative AI
google-generativeai == 0.6.*