NoMachine
NoMachine
IImmich
Created by NoMachine on 3/12/2025 in #help-desk-support
hardware accelerated ML using openvino
I updated the ML part of the compose file according to the documentation:
immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
device_cgroup_rules:
- 'c 189:* rmw'
devices:
- /dev/dri:/dev/dri
volumes:
- /dev/bus/usb:/dev/bus/usb
- model-cache:/cache
env_file:
- stack.env
restart: unless-stopped
healthcheck:
disable: false
immich-machine-learning:
container_name: immich_machine_learning
# For hardware acceleration, add one of -[armnn, cuda, openvino] to the image tag.
# Example tag: ${IMMICH_VERSION:-release}-cuda
image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}
# extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
# file: hwaccel.ml.yml
# service: cpu # set to one of [armnn, cuda, openvino, openvino-wsl] for accelerated inference - use the `-wsl` version for WSL2 where applicable
device_cgroup_rules:
- 'c 189:* rmw'
devices:
- /dev/dri:/dev/dri
volumes:
- /dev/bus/usb:/dev/bus/usb
- model-cache:/cache
env_file:
- stack.env
restart: unless-stopped
healthcheck:
disable: false
I forced the job 'SMART SEARCH', but I don't see any indication on the GPU being used, while the CPU is at 100%
15 replies
IImmich
Created by NoMachine on 3/11/2025 in #help-desk-support
duplicated media when syncing mobile with external media
I connected a new mobile client (Android) to an existing Immich account. This device already had a lot of media files, that were already backed up in an external library. I started the backup process assuming they will get detected as duplicated and won't be uploaded, instead, I now have 2 versions of the same file, for every media already in the phone
10 replies
IImmich
Created by NoMachine on 2/5/2025 in #help-desk-support
Help trying to setup remote machine learning - fetch fail on remote host
I'm trying to setup RML on another system, everything looks fine, but the server is unable to connect to the remote ML for some reason. any tip would be appretiated. these are the logs from the server
[Nest] 7 - 02/05/2025, 1:14:03 PM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://192.168.0.227:3003" failed: fetch failed
[Nest] 7 - 02/05/2025, 1:14:03 PM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://192.168.0.227:3003" failed: fetch failed
[Nest] 7 - 02/05/2025, 1:14:03 PM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://192.168.0.227:3003" failed: fetch failed
[Nest] 7 - 02/05/2025, 1:14:03 PM WARN [Microservices:MachineLearningRepository] Machine learning request to "http://192.168.0.227:3003" failed: fetch failed
I logged into the server console to test if it can reach the server and port
root@4c5bebf86a06:/usr/src/app# nmap 192.168.0.227 -p 3003
Starting Nmap 7.93 ( https://nmap.org ) at 2025-02-05 13:28 UTC
Nmap scan report for dragonborn (192.168.0.227)
Host is up (0.00048s latency).

PORT STATE SERVICE
3003/tcp open cgms
root@4c5bebf86a06:/usr/src/app# nmap 192.168.0.227 -p 3003
Starting Nmap 7.93 ( https://nmap.org ) at 2025-02-05 13:28 UTC
Nmap scan report for dragonborn (192.168.0.227)
Host is up (0.00048s latency).

PORT STATE SERVICE
3003/tcp open cgms
and these are the logs from the remote instance
[02/05/25 12:44:26] INFO Starting gunicorn 23.0.0
[02/05/25 12:44:26] INFO Listening at: http://[::]:3003 (9)
[02/05/25 12:44:26] INFO Using worker: app.config.CustomUvicornWorker
[02/05/25 12:44:26] INFO Booting worker with pid: 10
[02/05/25 12:44:29] INFO Started server process [10]
[02/05/25 12:44:29] INFO Waiting for application startup.
[02/05/25 12:44:29] INFO Created in-memory cache with unloading after 300s
of inactivity.
[02/05/25 12:44:29] INFO Initialized request thread pool with 12 threads.
[02/05/25 12:44:29] INFO Application startup complete.
[02/05/25 12:44:26] INFO Starting gunicorn 23.0.0
[02/05/25 12:44:26] INFO Listening at: http://[::]:3003 (9)
[02/05/25 12:44:26] INFO Using worker: app.config.CustomUvicornWorker
[02/05/25 12:44:26] INFO Booting worker with pid: 10
[02/05/25 12:44:29] INFO Started server process [10]
[02/05/25 12:44:29] INFO Waiting for application startup.
[02/05/25 12:44:29] INFO Created in-memory cache with unloading after 300s
of inactivity.
[02/05/25 12:44:29] INFO Initialized request thread pool with 12 threads.
[02/05/25 12:44:29] INFO Application startup complete.
10 replies