could not select device driver "nvidia" with capabilities: [[gpu]]

Hi there,
I'm trying to setup remote ml acceleration by following these two guides:
I've setup the docker-compose.yml on the remote machine as follows:
name: immich_remote_ml

services:
  immich-machine-learning:
    container_name: immich_machine_learning
    image: ghcr.io/immich-app/immich-machine-learning:${IMMICH_VERSION:-release}-cuda
    extends:
      file: hwaccel.ml.yml
      service: cuda
    volumes:
      - model-cache:/cache
    restart: always
    ports:
      - 3003:3003

volumes:
  model-cache:

But on
docker compose up -d
, I get could not select device driver "nvidia" with capabilities: [[gpu]].
I've also installed nvidia-container-toolkit
Was this page helpful?