mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
feat(ml)!: switch image classification and CLIP models to ONNX (#3809)
This commit is contained in:
parent
8211afb726
commit
165b91b068
14 changed files with 1617 additions and 507 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue