imagegenius / docker-immich-cuda-node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.

travisboss opened this issue · comments

commented
Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.

See this pop up at the end of the container, is this an issue?

  immich-cuda-node:
    image: ghcr.io/imagegenius/immich-cuda-node:latest
    runtime: nvidia
    container_name: immich-cuda-node
    environment:
      - PUID=1000
      - PGID=100
      - TZ=America/Chicago
      - NVIDIA_VISIBLE_DEVICES=all
    volumes:
      - /pool/datavault/immich/cuda/config:/var/lib/postgresql/data
      - /pool/datavault/immich/photos:/photos
    ports:
      - 3003:3003
    restart: unless-stopped
    networks:
      - docker-services
    security_opt:
      - no-new-privileges=true

Here is what the compose file looks like, thanks.

commented

not sure you can you can use runtime in docker compose, might be wrong, but

version: "3"

services:
  immich-cuda-node:
    image: ghcr.io/imagegenius/immich-cuda-node:latest
    container_name: immich-cuda-node
    environment:
      - PUID=1000
      - PGID=100
      - TZ=America/Chicago
    volumes:
      - /pool/datavault/immich/cuda/config:/var/lib/postgresql/data
      - /pool/datavault/immich/photos:/photos
    ports:
      - 3003:3003
    restart: unless-stopped
    networks:
      - docker-services
    security_opt:
      - no-new-privileges=true
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]

is whats needed to passthrough a GPU via compose

Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.

don't believe this means anythings wrong, @martabal?

commented

Could not find image processor class in the image processor config or the model config. Loading based on pattern matching with the model's feature extractor configuration.

don't believe this means anythings wrong, @martabal?

I think it's just a warning and can be ignored.

FYI, This cuda node worked with a previous version of machine-learning but I don't know if it works with the current immich version. Because immich machine-learning changed a lot recently, and gpu acceleration is not officially supported, I don't know if it uses the GPU. My vision on this cuda node is to leave it as it is (good thing if this works and won't fix it if this breaks) until Immich officially supports GPU acceleration for machine-learning.