Commit Graph

430 Commits (43eccca86a4b25deb132bda72ac4d846332f3e6d)

Author SHA1 Message Date
renovate[bot] 20262209ce
fix(deps): update dependency setuptools to v70 [security] (#11609) 2024-08-06 10:09:38 +07:00
renovate[bot] 9765ccb5a7
chore(deps): update machine-learning (#11605)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 21:00:00 +07:00
Jason Rasmussen 7f03bd8440
chore: dockerfile casing (#11589)
chore: docokerfile casing
2024-08-05 07:51:30 +07:00
Jason Rasmussen 2974cdbbee
chore: dockerfile casing (#11588) 2024-08-05 12:07:28 +07:00
renovate[bot] 3968d76a57
fix(deps): update machine-learning (#11320) 2024-08-03 09:24:09 +07:00
Mert 41580696c7
feat(ml): add more search models (#11468)
* update export code

* add uuid glob, sort model names

* add new models to ml, sort names

* add new models to server, sort by dims and name

* typo in name

* update export dependencies

* onnx save function

* format
2024-07-31 04:34:45 +07:00
Alex The Bot 919fd7d41f Version v1.111.0 2024-07-30 19:06:39 +07:00
Alex The Bot 04340b3a62 Version v1.110.0 2024-07-26 15:38:20 +07:00
renovate[bot] 2179f83d63
chore(deps): update machine-learning (#11310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 12:53:47 +07:00
renovate[bot] 6394b4a9a3
chore(deps): update machine-learning (#11299)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 22:05:16 +07:00
renovate[bot] b53bd8c525
fix(deps): update machine-learning (#10740)
* fix(deps): update machine-learning

* update openvino options, cuda

* update openvino build

* fix indentation

* update minimum nvidia driver

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-07-21 19:30:24 +07:00
Fynn Petersen-Frey 54488b1016
feat(ml): improved ARM-NN support (#11233) 2024-07-20 15:59:27 +07:00
Alex The Bot b9fc59ca9f Version v1.109.2 2024-07-18 19:33:29 +07:00
Alex The Bot 01ba859567 Version v1.109.1 2024-07-18 17:55:58 +07:00
Mert 173c9070c8
fix(ml): re-add worker env (#11192)
re-add worker env
2024-07-18 17:50:52 +07:00
Alex The Bot c77702279c Version v1.109.0 2024-07-18 16:03:42 +07:00
Mert 88f62087fd
chore(ml): set higher worker timeout for openvino (#11174) 2024-07-18 10:50:57 +07:00
Alex The Bot c7432834d0 Version v1.108.0 2024-07-10 16:14:02 +07:00
Mert f43721ec92
fix(ml): armnn not being used (#10929)
* fix armnn not being used, move fallback handling to main, add tests

* formatting
2024-07-10 09:20:43 +07:00
Alex The Bot 96f29cefeb Version v1.107.2 2024-07-03 03:18:19 +07:00
Alex The Bot aa29f5d69c Version v1.107.1 2024-07-02 19:04:29 +07:00
Alex The Bot b47ec2f88f Version v1.107.0 2024-07-02 14:13:10 +07:00
renovate[bot] 5b909eeaf0
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to 333f759 (#10631) 2024-06-25 16:18:27 +07:00
renovate[bot] 9eafbb0524
fix(deps): update machine-learning (#10610) 2024-06-25 12:03:27 +07:00
Mert 6356c28f64
refactor(ml): model sessions (#10559) 2024-06-25 12:00:24 +07:00
Mert a42af06889
fix(ml): limit load retries (#10494) 2024-06-20 14:13:18 +07:00
Mert 86cbc6e125
chore(ml): support python 3.12 (#10481) 2024-06-19 10:51:10 +07:00
renovate[bot] 7daa761eed
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to b17c9b1 (#10465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 19:05:26 +07:00
renovate[bot] b21572cb32
chore(deps): update machine-learning (#10446)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-18 00:45:29 +07:00
Alex The Bot 8c2195c820 Version v1.106.4 2024-06-13 15:12:51 +07:00
Alex The Bot a8a7d29891 Version v1.106.3 2024-06-12 18:26:10 +07:00
Alex The Bot 81790ab166 Version v1.106.2 2024-06-11 19:09:13 +07:00
renovate[bot] 36bdbf93a7
fix(deps): update machine-learning (#10099)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-11 11:24:10 +07:00
Alex The Bot b5991c908e Version v1.106.1 2024-06-11 09:39:23 +07:00
Alex The Bot f32c02bd25 Version v1.106.0 2024-06-10 17:50:00 +07:00
Mert 2b1b43a7e4
feat(ml): composable ml (#9973)
* modularize model classes

* various fixes

* expose port

* change response

* round coordinates

* simplify preload

* update server

* simplify interface

simplify

* update tests

* composable endpoint

* cleanup

fixes

remove unnecessary interface

support text input, cleanup

* ew camelcase

* update server

server fixes

fix typing

* ml fixes

update locustfile

fixes

* cleaner response

* better repo response

* update tests

formatting and typing

rename

* undo compose change

* linting

fix type

actually fix typing

* stricter typing

fix detection-only response

no need for defaultdict

* update spec file

update api

linting

* update e2e

* unnecessary dimension

* remove commented code

* remove duplicate code

* remove unused imports

* add batch dim
2024-06-07 03:09:47 +07:00
renovate[bot] 454c995e90
chore(deps): update machine-learning (#9969) 2024-06-03 22:41:10 +07:00
renovate[bot] 771df7f09f
fix(deps): update machine-learning (#9812)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-28 10:07:27 +07:00
CodaBool 6a4c2e97c0
feat: add docker healthchecks to server and ml (#9583)
* add healthcheck

* format, import, IMMICH_PORT, and eslint change

* chore: clean up nodejs healthcheck

* fix ruff formating

* add healthcheck

* format, import, IMMICH_PORT, and eslint change

* chore: clean up nodejs healthcheck

* fix ruff formating

* add healthcheck to dockerfile

* poetry run ruff check --fix

* removed 2 of 3 console calls

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
2024-05-22 16:54:29 +07:00
renovate[bot] 6119618ae2
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to d5b8281 (#9616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-21 09:48:11 +07:00
Mert 9aed736911
fix(ml): openvino not working with kernel 6.7.5 or later (#9541)
* add envs

* move to Dockerfile
2024-05-18 00:00:20 +07:00
Jason Rasmussen 2e62c7b417
refactor: node_env => immich_env (#9561) 2024-05-17 13:30:05 +07:00
Jason Rasmussen d61418886f
refactor!: port env (#9559)
refactor: port env
2024-05-17 12:59:05 +07:00
Jason Rasmussen 4807fc40a6
refactor!: LOG_LEVEL => IMMICH_LOG_LEVEL (#9557)
refactor: LOG_LEVEL => IMMICH_LOG_LEVEL
2024-05-17 11:44:22 +07:00
Alex The Bot 88d4338348 Version v1.105.1 2024-05-14 21:31:24 +07:00
renovate[bot] 5583635947
chore(deps): update python:3.11-bookworm docker digest to 96de1ea (#9490) 2024-05-14 19:13:56 +07:00
dependabot[bot] dd64379a4e
chore(deps-dev): bump flask-cors from 4.0.0 to 4.0.1 in /machine-learning (#9485) 2024-05-14 14:06:40 +07:00
dependabot[bot] c1cdda0ac4
chore(deps-dev): bump jinja2 from 3.1.3 to 3.1.4 in /machine-learning (#9483) 2024-05-14 17:08:29 +07:00
Alex The Bot 596ab39293 Version v1.105.0 2024-05-14 17:07:25 +07:00
dependabot[bot] f01cf63c70
chore(deps): bump tqdm from 4.66.1 to 4.66.3 in /machine-learning (#9481) 2024-05-14 16:51:07 +07:00
dependabot[bot] e55c5091d9
chore(deps-dev): bump werkzeug from 3.0.1 to 3.0.3 in /machine-learning (#9480) 2024-05-14 16:37:50 +07:00
renovate[bot] 77b8c2f330
chore(deps): update machine-learning (#9478)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-14 10:57:15 +07:00
renovate[bot] 09e9e91b6a
fix(deps): update machine-learning (#9304)
* fix(deps): update machine-learning

* use fastapi-slim

* fix lock

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-05-14 14:46:20 +07:00
Alex The Bot a6f557c24c Version v1.104.0 2024-05-13 18:31:57 +07:00
renovate[bot] 8ff397527f
chore(deps): update machine-learning (#9292) 2024-05-06 22:21:24 +07:00
renovate[bot] 926de96ce6
chore(deps): update dependency ruff to v0.4.2 (#9186) 2024-04-30 14:38:05 +07:00
renovate[bot] 374a9b557b
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to f4c5c3c (#9181) 2024-04-30 13:37:29 +07:00
renovate[bot] c1636ef7ab
chore(deps): update machine-learning (#9168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-30 02:24:09 +07:00
Alex The Bot ba18776fc2 Version v1.103.1 2024-04-29 17:53:49 +07:00
Alex The Bot 4291b38769 Version v1.103.0 2024-04-29 14:42:49 +07:00
dependabot[bot] 953896a35a
chore(deps): bump onnx from 1.15.0 to 1.16.0 in /machine-learning (#9122)
Bumps [onnx](https://github.com/onnx/onnx) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/onnx/onnx/releases)
- [Changelog](https://github.com/onnx/onnx/blob/main/docs/Changelog-ml.md)
- [Commits](https://github.com/onnx/onnx/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: onnx
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-27 19:50:49 +07:00
renovate[bot] 70c78a09a4
chore(deps): update dependency ruff to v0.4.0 (#9047) 2024-04-23 17:03:32 +07:00
renovate[bot] 7a2c1bab23
chore(deps): update machine-learning (#9029) 2024-04-23 14:33:12 +07:00
Alex The Bot a2180a467d Version v1.102.3 2024-04-20 20:17:39 +07:00
Alex The Bot 25549b87c9 Version v1.102.2 2024-04-20 15:55:32 +07:00
Alex The Bot 6eb1b82541 Version v1.102.1 2024-04-20 13:43:46 +07:00
Alex The Bot 886e07604e Version v1.102.0 2024-04-19 20:08:02 +07:00
renovate[bot] 7db07bbe61
fix(deps): update dependency gunicorn to v22 [security] (#8863) 2024-04-17 11:23:24 +07:00
renovate[bot] 4c4ebf769f
chore(deps): update dependency ruff to v0.3.6 (#8850) 2024-04-16 12:53:04 +07:00
aviv926 58e516c766
Docs: minor changes (#8814)
* minor

* add image

* PR feedback

* npm run format:fix of course 4_4

* Remove what is not relevant

* pr feedback

* PR feedback

* revert npm run format

* Update docs/docs/FAQ.mdx

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>

* Update FAQ.mdx

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
2024-04-16 07:26:12 +07:00
renovate[bot] 1c1e461936
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to 4de6145 (#8828)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 00:40:12 +07:00
renovate[bot] 640f53fe0a
fix(deps): update dependency pillow to v10.3.0 [security] (#8493)
* fix(deps): update dependency pillow to v10.3.0 [security]

* fix typing

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-04-11 05:48:09 +07:00
renovate[bot] 1bca1b8bde
fix(deps): update machine-learning (#8646)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 01:38:30 +07:00
Alex The Bot 3b0fff3b3d Version v1.101.0 2024-04-05 02:39:51 +07:00
Lukas e47a89b274
Add notes for facial recogniton models source (#8522)
Co-authored-by: LakesLab <lackeslab@gmail.com>
2024-04-04 18:42:27 +07:00
renovate[bot] 4ed68cf673
fix(deps): update dependency orjson to v3.10.0 (#8473) 2024-04-02 19:22:50 +07:00
renovate[bot] e520c0d1f5
chore(deps): update dependency black to v24.3.0 [security] (#8109)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 00:44:57 +07:00
renovate[bot] e2d5a8c0bb
fix(deps): update machine-learning (#8280)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-31 06:05:18 +07:00
Alex The Bot 16513b4a6e Version v1.100.0 2024-03-28 18:36:38 +07:00
renovate[bot] 9fd5d2ad9c
fix(deps): update machine-learning (#8057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 22:59:15 +07:00
Alex The Bot 5b314ffd46 Version v1.99.0 2024-03-20 14:50:57 +07:00
Davide e8f0f82db0
feat(ml): add cache_dir option to OpenVINO EP (#8018)
* add cache_dir option to OpenVINO EP

* update provider options test to include cache_dir

* use forward slash instead of string concatenation

* fix cache_dir placement in provider options assertion
2024-03-17 13:48:59 +07:00
Mert 3a045b33ca
chore(deps): update onnxruntime-openvino (#7854) 2024-03-16 00:04:45 +07:00
renovate[bot] eea0a98090
chore(deps): update machine-learning (#7890) 2024-03-15 17:19:28 +07:00
Andrew Rowson 37e5b91dc2
fix(server): ml gunicorn listen on ipv4 and ipv6 by default (#7930) 2024-03-13 12:13:56 +07:00
renovate[bot] 4b4ebe4f80
fix(deps): update machine-learning (#7871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 23:26:43 +07:00
Alex The Bot 4027cba4eb Version v1.98.2 2024-03-11 14:17:12 +07:00
Alex The Bot 430561d692 Version v1.98.1 2024-03-08 23:44:13 +07:00
Sam Holton dbb6a8dc2a
fix(server): remove shared links during user delete (#7696)
* fix(server): remove shared links during user delete

* add delete cascade for shared links
2024-03-07 17:21:23 +07:00
Alex The Bot 7dc5e0cc4f Version v1.98.0 2024-03-07 19:22:14 +07:00
Alex Tran ba5d5256b1 Revert "Version v1.98.0"
This reverts commit 9b1a379fa6.
2024-03-07 12:04:54 +07:00
Alex The Bot 9b1a379fa6 Version v1.98.0 2024-03-07 17:40:40 +07:00
renovate[bot] 4c0bb2308c
fix(deps): update machine-learning (#7634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 00:24:33 +07:00
DawidPietrykowski e8b001f62f
feat: preloading of machine learning models (#7540) 2024-03-03 19:48:56 +07:00
martin 8ce18b3403
feat(machine-learning): support cuda 12 (#7569)
* feat: support cuda12

* fix: group optional

* move to cuda 12

* pr feedback
2024-03-02 23:36:16 +07:00
Alex The Bot 6f53e83d49 Version v1.97.0 2024-02-28 22:34:00 +07:00
Alex The Bot 6d91c23f65 Version v1.96.0 2024-02-27 20:14:58 +07:00
renovate[bot] fd301a3261
fix(deps): update dependency orjson to v3.9.15 [security] (#7438) 2024-02-27 10:59:28 +07:00
renovate[bot] 8965c25f54
chore(deps): update machine-learning (#7451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 00:53:37 +07:00
Mert 7e18e69c1c
fix(ml): only use openvino if a gpu is available (#7450)
use `device_type`
2024-02-27 00:45:14 +07:00
Sourav Agrawal 2a75f884d9
Fix Smart Search when using OpenVINO (#7389)
* Fix external_path loading in OpenVINO EP

* Fix ruff lint

* Wrap block in try finally

* remove static input shape code

* add unit test

* remove unused imports

* remove repeat line

* linting

* formatting

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-02-24 18:22:27 +07:00
renovate[bot] a771f33fa3
chore(deps): update machine-learning (#7225) 2024-02-21 01:12:38 +07:00
Alex The Bot 7c34d0595e Version v1.95.1 2024-02-21 04:02:43 +07:00
Alex The Bot 302d98ebe1 Version v1.95.0 2024-02-20 16:52:23 +07:00
martin ddae707ea9
fix: shell scripts (#7186)
* fix: bash scripts

* pr feedback

* wrong variable

* ci: add shellcheck workflow

* fix: missing scripts
2024-02-18 17:03:01 +07:00
renovate[bot] 3cfe2dd31f
chore(deps): update machine-learning (#7084) 2024-02-13 16:04:40 +07:00
renovate[bot] a0159251d9
chore(deps): update machine-learning (#7074)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-13 09:02:32 +07:00
renovate[bot] 2b8ec30767
chore(deps): update machine-learning (major) (#6934)
* chore(deps): update machine-learning

* formatting

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-02-12 22:29:15 +07:00
renovate[bot] bfba81de94
chore(deps): update machine-learning (#6931)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 21:08:17 +07:00
renovate[bot] a8fefe4467
fix(deps): update dependency python-multipart to v0.0.7 [security] (#7054) 2024-02-12 13:32:12 +07:00
Fynn Petersen-Frey 49c378d706
fix(ml): re-enable ARMNN integration (#7053) 2024-02-12 13:29:55 +07:00
Mert 0c4df216d7
feat(ml): improve test coverage (#7041)
* update e2e

* tokenizer tests

* more tests, remove unnecessary code

* fix e2e setting

* add tests for loading model

* update workflow

* fixed test
2024-02-11 17:58:56 +07:00
Mert c9b7f4e690
chore(ml): make execution provider log info-level (#7024)
* change debug log to info

* update test
2024-02-11 06:12:11 +07:00
renovate[bot] f7d0a8ed0a
fix(deps): update dependency fastapi to v0.109.1 [security] (#6923)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-06 12:21:24 +07:00
Mert 79d3342c3d
fix(ml): openvino not working with dynamic axes (#6871)
* convert to static

* add comment about gross code

* formatting

* fixed test

* fix typing

* cleanup

* formatting

* Revert "formatting"

This reverts commit 073965c47e.

* Revert "cleanup"

This reverts commit bb56bd3297.

* formatting
2024-02-03 05:35:26 +07:00
Alex The Bot 07466fa7b7 Version v1.94.1 2024-01-31 19:21:00 +07:00
Alex The Bot a7ed2b7132 Version v1.94.0 2024-01-31 15:41:53 +07:00
renovate[bot] 2bcba526df
fix(deps): update machine-learning (#6745)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-29 20:43:14 +07:00
Mert f52994e8ca
fix(ml): model paths not working (#6705)
* fix str enum string repr

* fixed typing
2024-01-28 20:54:33 +07:00
Mert a84b6f5fb1
feat(ml): conditionally download .armnn models (#6650) 2024-01-28 10:31:59 +07:00
Mert 2249f7d42a
fix(ml): handle missing `context_length` field (#6695)
* handle missing `context_length` field

* specify list type
2024-01-27 19:50:50 +07:00
Mert ca28e1e7a8
fix(ml): error logging (#6646)
* fix ml error logging

* exclude certain libraries from traceback
2024-01-26 00:26:27 +07:00
renovate[bot] 1c35110806
fix(deps): update dependency orjson to v3.9.12 (#6600) 2024-01-23 18:10:10 +07:00
renovate[bot] 871d0c725f
chore(deps): pin dependencies (#6436)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-22 11:08:00 +07:00
Mert 95cfe22866
feat(ml)!: cuda and openvino acceleration (#5619)
* cuda and openvino ep, refactor, update dockerfile

* updated workflow

* typing fixes

* added tests

* updated ml test gh action

* updated README

* updated docker-compose

* added compute to hwaccel.yml

* updated gh matrix

updated gh matrix

updated gh matrix

updated gh matrix

updated gh matrix

give up

* remove cuda/arm64 build

* add hwaccel image tags to docker-compose

* remove unnecessary quotes

* add suffix to git tag

* fixed kwargs in base model

* armnn ld_library_path

* update pyproject.toml

* add armnn workflow

* formatting

* consolidate hwaccel files, update docker compose

* update hw transcoding docs

* add ml hwaccel docs

* update dev and prod docker-compose

* added armnn prerequisite docs

* support 3.10

* updated docker-compose comments

* formatting

* test coverage

* don't set arena extend strategy for openvino

* working openvino

* formatting

* fix dockerfile

* added type annotation

* add wsl configuration for openvino

* updated lock file

* copy python3

* comment out extends section

* fix platforms

* simplify workflow suffix tagging

* simplify aio transcoding doc

* update docs and workflow for `hwaccel.yml` change

* revert docs
2024-01-21 18:22:39 +07:00
Alex The Bot 4ebb9974ff Version v1.93.3 2024-01-20 16:03:18 +07:00
Alex The Bot 3dddc6b449 Version v1.93.2 2024-01-19 18:29:04 +07:00
Alex The Bot d5af357992 Version v1.93.1 2024-01-19 15:01:17 +07:00
Alex The Bot fa0b7c8563 Version v1.93.0 2024-01-19 02:14:46 +07:00
Mert 68f52818ae
feat(server): separate face clustering job (#5598)
* separate facial clustering job

* update api

* fixed some tests

* invert clustering

* hdbscan

* update api

* remove commented code

* wip dbscan

* cleanup

removed cluster endpoint

remove commented code

* fixes

updated tests

minor fixes and formatting

fixed queuing

refinements

* scale search range based on library size

* defer non-core faces

* optimizations

removed unused query option

* assign faces individually for correctness

fixed unit tests

remove unused method

* don't select face embedding

update sql

linting

fixed ml typing

* updated job mock

* paginate people query

* select face embeddings because typeorm

* fix setting face detection concurrency

* update sql

formatting

linting

* simplify logic

remove unused imports

* more specific delete signature

* more accurate typing for face stubs

* add migration

formatting

* chore: better typing

* don't select embedding by default

remove unused import

* updated sql

* use normal try/catch

* stricter concurrency typing and enforcement

* update api

* update job concurrency panel to show disabled queues

formatting

* check jobId in queueAll

fix tests

* remove outdated comment

* better facial recognition icon

* wording

wording

formatting

* fixed tests

* fix

* formatting & sql

* try to fix sql check

* more detailed description

* update sql

* formatting

* wording

* update `minFaces` description

---------

Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2024-01-18 00:08:48 +07:00
renovate[bot] d3ff2408bc
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to 377aafa (#6434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-16 16:39:31 +07:00
Mert e2666f0e74
fix(ml): remove unused import (#6356)
* remove unused import

* formatting
2024-01-13 00:25:26 +07:00
renovate[bot] 20be42cec0
chore(deps): update machine-learning (#6302)
* chore(deps): update machine-learning

* fix typing, use new lifespan syntax

* wrap in try / finally

* move log

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-01-13 05:00:09 +07:00
Fynn Petersen-Frey 753292956e
feat(ml): ARMNN acceleration (#5667)
* feat(ml): ARMNN acceleration for CLIP

* wrap ANN as ONNX-Session

* strict typing

* normalize ARMNN CLIP embedding

* mutex to handle concurrent execution

* make inputs contiguous

* fine-grained locking; concurrent network execution

---------

Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2024-01-11 18:26:46 +07:00
Alex The Bot df59b2099f Version v1.92.1 2024-01-08 15:24:38 +07:00
Alex The Bot 319ddfda53 Version v1.92.0 2024-01-08 05:19:11 +07:00
renovate[bot] 3edc87f684
fix(deps): update machine-learning (#5180)
* fix(deps): update machine-learning

* updated ruff command

* use isinstance

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2023-12-25 22:37:48 +07:00
renovate[bot] 612590feda
fix(deps): update dependency pillow to v10 [security] (#5944) 2023-12-23 14:10:05 +07:00
Mert 19ea0ead85
renovate: use in-range-only strategy for python (#5937) 2023-12-23 09:04:36 +07:00
Mert 4dd7412a86
pin python (#5904) 2023-12-21 11:54:56 +07:00
Mert 092a23fd7f
feat(server,ml): remove image tagging (#5903)
* remove image tagging

* updated lock

* fixed tests, improved logging

* be nice

* fixed tests
2023-12-20 20:47:56 +07:00
Alex The Bot b40859551b Version v1.91.4 2023-12-19 03:34:19 +07:00
Alex The Bot 08f66c2ae5 Version v1.91.3 2023-12-17 16:57:16 +07:00
Mert 09402eb6d0
fix(ml): disable core dumps (#5770)
* update dockerfile

* remove sysctl line
2023-12-16 20:30:29 +07:00
Alex The Bot a15c799ba3 Version v1.91.2 2023-12-16 23:19:58 +07:00
Alex The Bot 0aae9696f6 Version v1.91.1 2023-12-16 17:26:51 +07:00
Mohamed BOUSSAID 7839be3b49
Adding the new models to the whitelist (#5736) 2023-12-15 22:45:14 +07:00
Alex The Bot e9a8daa924 Version v1.91.0 2023-12-15 15:22:37 +07:00
renovate[bot] e05c7f5b76
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to 5ea70d2 (#5707)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-14 23:09:48 +07:00
Mert d729c863c8
chore(ml): improve shutdown (#5689) 2023-12-14 13:51:24 +07:00
renovate[bot] d2ad01cd2f
chore(deps): update python:3.11-slim-bookworm docker digest to cfd7ed5 (#5572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-09 21:15:15 +07:00
Alex The Bot 429ad28810 Version v1.90.2 2023-12-08 14:23:04 +07:00
Alex The Bot d2fbbe790b Version v1.90.1 2023-12-08 04:20:27 +07:00
Alex The Bot c174f0e871 Version v1.90.0 2023-12-07 18:32:45 +07:00
renovate[bot] 259700c45f
chore(deps): update mambaorg/micromamba:bookworm-slim docker digest to e296d47 (#5487)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 19:37:08 +07:00
renovate[bot] 56aed8246d
chore(deps): update python:3.11-slim-bookworm docker digest to cc75851 (#5462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 13:26:41 +07:00
renovate[bot] 6959cf689b
chore(deps): update python:3.11-bookworm docker digest to ba7a7ac (#5438)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-02 18:35:23 +07:00
renovate[bot] cbdcbd3ab4
chore(deps): update python:3.11-slim-bookworm docker digest to 8f82989 (#5435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 20:24:50 +07:00
renovate[bot] cb00d45e3d
chore(deps): update python:3.11-bookworm docker digest to 47c1829 (#5434)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 20:13:23 +07:00
renovate[bot] 40964187bb
chore(deps): update python:3.11-slim-bookworm docker digest to 23f5220 (#5388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 18:36:54 +07:00
renovate[bot] fe3d951f26
chore(deps): update python:3.11-bookworm docker digest to c56b0c6 (#5387)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-01 18:36:30 +07:00
Alex The Bot 8b6a79ad9e Version v1.89.0 2023-11-29 19:20:24 +07:00
renovate[bot] 1fa5e220a1
chore(deps): pin dependencies (#5367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 02:09:11 +07:00
Mert 6e10d15f2c
pin python (#5272) 2023-11-22 19:42:17 +07:00
Alex The Bot 55fa3234fd Version v1.88.2 2023-11-21 16:09:18 +07:00
Alex Tran a13052e24c Revert "Version v1.88.2"
This reverts commit bc2c73e499.
2023-11-21 09:07:50 +07:00
Alex The Bot bc2c73e499 Version v1.88.2 2023-11-21 15:01:06 +07:00
Alex The Bot 9cf40afaf0 Version v1.88.1 2023-11-21 03:00:19 +07:00
Alex The Bot 0f596e278c Version v1.88.0 2023-11-20 20:47:37 +07:00
Mert ddf04a7eb4
chore(ml): increase spool threshold to 64MiB (#5176) 2023-11-20 09:05:35 +07:00
Mert f7ada7351e
update onnxruntime (#5175) 2023-11-20 08:44:45 +07:00
Alex The Bot ec51a9f6d6 Version v1.87.0 2023-11-18 02:58:26 +07:00
Mert a6af4892e3
fix(ml): better model unloading (#3340)
* restart process on inactivity

* formatting

* always update `last_called`

* load models sequentially

* renamed variable, updated docs

* formatting

* made poll env name consistent with model ttl env
2023-11-16 20:42:44 +07:00
Alex The Bot a7cacafe25 Version v1.86.0 2023-11-14 04:08:18 +07:00
Mert 291159e7fc
fixed tests (#5017) 2023-11-13 19:37:39 +07:00
Mert 935f471ccb
chore(ml): use strict mypy (#5001)
* improved typing

* improved export typing

* strict mypy & check export folder

* formatting

* add formatting checks for export folder

* re-added init call
2023-11-13 10:18:46 +07:00
Mert 328a58ac0d
feat(ml): add face models (#4952)
added models to config dropdown

fixed downloading

updated tests

use hf for face models

formatting
2023-11-11 19:04:49 +07:00
Alex The Bot 37ab37bffc Version v1.85.0 2023-11-08 03:20:59 +07:00
Alex The Bot cf4ec06750 Version v1.84.0 2023-11-01 14:46:59 +07:00
Mert 87a0ba3db3
feat(ml): export clip models to ONNX and host models on Hugging Face (#4700)
* export clip models

* export to hf

refactored export code

* export mclip, general refactoring

cleanup

* updated conda deps

* do transforms with pillow and numpy, add tokenization config to export, general refactoring

* moved conda dockerfile, re-added poetry

* minor fixes

* updated link

* updated tests

* removed `requirements.txt` from workflow

* fixed mimalloc path

* removed torchvision

* cleaner np typing

* review suggestions

* update default model name

* update test
2023-10-31 05:02:04 +07:00
Alex The Bot d98a2a5f79 Version v1.83.0 2023-10-28 13:32:48 +07:00
Alex The Bot 31987bc043 Version v1.82.1 2023-10-18 17:14:26 +07:00
Alex The Bot 219f99e516 Version v1.82.0 2023-10-17 01:24:08 +07:00
Mert d8ecefaea5
chore(ml): removed vit-b check and st warning (#4422) 2023-10-10 12:26:30 +07:00
Alex The Bot 126dd45751 Version v1.81.1 2023-10-04 17:53:42 +07:00
Alex The Bot 81d51fbd7e Version v1.81.0 2023-10-03 20:48:23 +07:00
Alex The Bot 66e860a08e Version v1.80.0 2023-10-02 14:47:21 +07:00
Alex The Bot e050121dbf Version v1.79.1 2023-09-22 01:37:20 +07:00
Alex The Bot 86f5ceb80e Version v1.79.0 2023-09-21 14:17:00 +07:00
Alex The Bot a3206bf950 Version v1.78.1 2023-09-14 13:56:33 +07:00
Alex The Bot b42ca61e1f Version v1.78.0 2023-09-13 08:24:02 +07:00
Mert cb437829f3
chore(docs): updated ML documentation (#4063) 2023-09-12 13:22:42 +07:00
Mert 258b98c262
fix(ml): load models in separate threads (#4034)
* load models in thread

* set clip mode logs to debug level

* updated tests

* made fixtures slightly less ugly

* moved responses to json file

* formatting
2023-09-09 16:02:44 +07:00
Alexandre Bouijoux b8777d7739
Add french documentation (#4010)
* Copy original README for online editing

* Translate to french

* Add link from other documentations

* Add machine-learning french doc

* Typos

* Missing word

---------

Co-authored-by: Alexandre Bouijoux <alexandre@bouijoux.fr>
2023-09-08 13:48:39 +07:00
Mert 0a24ff90bb
fix(ml): set higher default worker timeout (#4007) 2023-09-07 08:27:29 +07:00
Alex The Bot 608543da0b Version v1.77.0 2023-09-06 03:30:44 +07:00
Mert 3cf0f5f11b
fix(ml): model downloading improvements (#3988)
* handle ort `NoSuchFile` error, stricter file check

* keep exception order
2023-09-06 08:48:40 +07:00
Mert b7fd5dcb4a
dev(ml): fixed `docker-compose.dev.yml`, updated locust (#3951)
* fixed dev docker compose

* updated locustfile

* deleted old script, moved comments to locustfile
2023-09-01 21:59:17 +07:00
Daniele Ricci c7d53a5006
docs: remove obsolete environment variables (#3926)
* Obsolete environment variables

* Review fixes

* Review fixes

* Review fixes
2023-09-01 18:05:45 +07:00
Mert 41461e0d5d
chore(ml): memory optimisations (#3934) 2023-08-31 18:30:53 +07:00