mirror-immich/machine-learning/immich_ml
Aleksander Pejcic aaf34fa7d4
feat(ml): enable openvino for cpu (#22948)
* Enable OpenVINO CPU acceleration in Immich

* Remove unnecessary debug log

* Removing checking for device_ids for openvino since cpu will always be available

* Find OpenVINOExecutionProvider index instead of assuming index 0

* Fix openvino tests

* Fix failing test mock. OpenVINO expects provider options, but cuda provide doesn't so use that for mocked tests.

* Support empty provider options in OrtSessions in which case ONNXRuntime will use its own defaults

* Use OpenVINOExecutionProvider for test_sets_provider_options_kwarg

* fix mock

* simplify

* unused variable

---------

Co-authored-by: Aleksander <pejcic@adobe.com>
Co-authored-by: mertalev <101130780+mertalev@users.noreply.github.com>
2026-03-07 18:40:43 +00:00
..
models fix(ml): batch size setting (#26524) 2026-03-05 12:01:47 -05:00
sessions feat(ml): enable openvino for cpu (#22948) 2026-03-07 18:40:43 +00:00
__init__.py chore(ml): installable package (#17153) 2025-03-27 19:49:09 +00:00
__main__.py fix(ml): ipv6 check (#22735) 2025-10-07 12:24:23 -04:00
config.py fix(ml): batch size setting (#26524) 2026-03-05 12:01:47 -05:00
gunicorn_conf.py chore(ml): installable package (#17153) 2025-03-27 19:49:09 +00:00
log_conf.json chore(ml): installable package (#17153) 2025-03-27 19:49:09 +00:00
main.py feat(ml): update ONNX Runtime, OpenVINO and ROCm stack (#23458) 2026-01-01 12:17:55 -05:00
schemas.py feat(ml): add preload and fp16 settings for ocr (#23576) 2025-11-06 17:55:11 +00:00