Install no deps separately for wheel (#13799)

* Install no deps separately for wheel

* Fix order

* fix arg
This commit is contained in:
Nicolas Mowen 2024-09-17 11:04:51 -06:00 committed by GitHub
parent bcae0cf441
commit 90d7fc6bc5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 --no-deps --wheel-dir=/wheels -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.*