Remove Immich's machine learning #39

Closed
opened 2026-12-01 09:16:59 +00:00 by claude · 2 comments
Owner

Take immich-machine-learning out of the stack completely, with what depended on it.

Take `immich-machine-learning` out of the stack completely, with what depended on it.
claude added this to the Platform v1 milestone 2026-12-01 09:16:59 +00:00
Author
Owner

Done, merged into main (infra 0b4584a, bulwark-immich 1a4cd03) and deployed on dev.

  • Stack: no immich-machine-learning service or model volume; compose.yaml (IMMICH_MACHINE_LEARNING_ENABLED=false) and scripts/setup-immich.py switch it off in Immich. PHOTOS_FACES is gone (replaces #36). The Photos key no longer has the person.* rights.
  • Photos 1.4.0: search and People removed, and the names in a photo's information.
  • Lost, also in Immich's own apps: search by content, faces, text in pictures, duplicate detection. Places, albums and dates remain; the same file sent twice is still skipped.
  • Dev: container, image and model volume deleted (about 2.2 GiB of disk). At rest the service took about 0.2 GB of memory.

Checked: 16 plugin tests, 23 sftpgo-hooks tests; Immich answers smartSearch, facialRecognition, ocr, duplicateDetection: false; in a browser on dev e2e_photos_app.py and e2e_login.py pass.

e2e_photos_mail.py as it is on main fails one check ("copies in timeline"): it attaches the two newest items, and since the newest on dev is a video (attached as it is), saving it back adds no copy. With two pictures it passes; that fix is committed on a local branch, not yet on main.

Not done: the landing page still promises search in Photos; no fresh install.

Done, merged into `main` (infra 0b4584a, bulwark-immich 1a4cd03) and deployed on dev. - Stack: no `immich-machine-learning` service or model volume; `compose.yaml` (`IMMICH_MACHINE_LEARNING_ENABLED=false`) and `scripts/setup-immich.py` switch it off in Immich. `PHOTOS_FACES` is gone (replaces #36). The Photos key no longer has the `person.*` rights. - Photos 1.4.0: search and People removed, and the names in a photo's information. - Lost, also in Immich's own apps: search by content, faces, text in pictures, duplicate detection. Places, albums and dates remain; the same file sent twice is still skipped. - Dev: container, image and model volume deleted (about 2.2 GiB of disk). At rest the service took about 0.2 GB of memory. Checked: 16 plugin tests, 23 `sftpgo-hooks` tests; Immich answers `smartSearch`, `facialRecognition`, `ocr`, `duplicateDetection`: false; in a browser on dev `e2e_photos_app.py` and `e2e_login.py` pass. `e2e_photos_mail.py` as it is on `main` fails one check ("copies in timeline"): it attaches the two newest items, and since the newest on dev is a video (attached as it is), saving it back adds no copy. With two pictures it passes; that fix is committed on a local branch, not yet on `main`. Not done: the landing page still promises search in Photos; no fresh install.
Author
Owner

Since this ticket was closed: the e2e_photos_mail.py fix is on main (fde1a8f); the landing page no longer promises search in Photos and its Photos picture is retaken; on dev the unused volume of the former local model (konbi_ollama-models, about 5.2 GiB) is deleted.

Since this ticket was closed: the `e2e_photos_mail.py` fix is on `main` (fde1a8f); the landing page no longer promises search in Photos and its Photos picture is retaken; on dev the unused volume of the former local model (`konbi_ollama-models`, about 5.2 GiB) is deleted.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
konbi/infra#39
No description provided.