ImmichI
Immich5mo ago
ERni

Immich machine learning container doesn't respond

curl http://172.18.0.3:3003/ping -iv
*   Trying 172.18.0.3:3003...
* Connected to 172.18.0.3 (172.18.0.3) port 3003
* using HTTP/1.x
> GET /ping HTTP/1.1
> Host: 172.18.0.3:3003
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off


just seems to hang there,

[Nest] 7  - 08/17/2025, 4:24:54 PM   ERROR [Microservices:{"source":"upload","id":"450591d8-5680-40de-a768-7212d316a424"}] Unable to run job handler (AssetDetectFaces): Error: Machine learning request '{"facial-recognition":{"detection":{"modelName":"buffalo_l","options":{"minScore":0.7}},"recognition":{"modelName":"buffalo_l"}}}' failed for all URLs
Error: Machine learning request '{"facial-recognition":{"detection":{"modelName":"buffalo_l","options":{"minScore":0.7}},"recognition":{"modelName":"buffalo_l"}}}' failed for all URLs


docker-compose config:

  immich-machine-learning:
    container_name: immich_machine_learning
    # For hardware acceleration, add one of -[armnn, cuda, rocm, openvino, rknn] to the image tag.
    # Example tag: ${IMMICH_VERSION:-release}-cuda
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}-openvino
    # hwaccelerated
    devices:
      - /dev/dri:/dev/dri
    device_cgroup_rules:
      - 'c 189:* rmw'
#    ports:
#      - '3003:3003'
    volumes:
      - model-cache:/cache
    env_file:
      - .env
    restart: always
    healthcheck:
      disable: false
    environment:
      IMMICH_LOG_LEVEL: verbose
Was this page helpful?