BSD Ports

www/immich-ml 3.2.2_1 DragonFly

Machine-learning service for Immich

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
AGPLv3
Categories
python, www
Package size
99.4 KiB, 456.5 KiB installed

Description

The Immich machine-learning service provides smart search (CLIP), duplicate detection, facial recognition and OCR (text search in images) for an Immich server. It is a FastAPI application that executes ONNX models with onnxruntime on the CPU. Models are downloaded automatically on first use into the cache directory.

The service listens on port 3003 by default and is consumed by www/immich; point the Immich server at it via its machine-learning URL setting.

In the other systems

The newest version among them is 3.4.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/immich-ml3.2.2_1 behind since 2026-10-02none known-[email protected]-
FreeBSDwww/immich-ml3.4.1 newestnone known-[email protected]2026-11-12
HardenedBSDwww/immich-ml3.3.5 behind since 2026-11-06no data-[email protected]-
GhostBSDwww/immich-ml3.3.5 behind since 2026-11-06no data-[email protected]-

Version history 1

  1. 3.2.2

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install immich-ml

From DPorts:

cd /usr/dports/www/immich-ml && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 20

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

The machine learning service listens on 127.0.0.1:3003 by default.
Point the Immich server at it in the admin web interface under
Administration > Settings > Machine Learning.

What to expect:
 * Models are downloaded on first use into /var/db/immich-ml.  Plan for
   about 1 GB with the default models for smart search, faces and OCR.
 * Inference runs on the CPU.  There is no GPU acceleration on FreeBSD,
   onnxruntime does not support it here.
 * Each worker holds its models in memory, roughly 200 MB for the
   smallest set.  Tune it in /usr/local/etc/immich-ml.env, for instance
   MACHINE_LEARNING_WORKERS or MACHINE_LEARNING_MODEL_TTL.