feat(ml)!: switch image classification and CLIP models to ONNX (#3809)

This commit is contained in:
Mert 2023-08-25 00:28:51 -04:00 committed by GitHub
parent 8211afb726
commit 165b91b068
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 1617 additions and 507 deletions

View file

@ -10,8 +10,9 @@ RUN poetry config installer.max-workers 10 && \
RUN python -m venv /opt/venv
ENV VIRTUAL_ENV="/opt/venv" PATH="/opt/venv/bin:${PATH}"
COPY poetry.lock pyproject.toml ./
COPY poetry.lock pyproject.toml requirements.txt ./
RUN poetry install --sync --no-interaction --no-ansi --no-root --only main
RUN pip install --no-deps -r requirements.txt
FROM python:3.11.4-slim-bullseye@sha256:91d194f58f50594cda71dcd2e8fdefd90e7ecc57d07823813b67c8521e565dcd