© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
ImmichI
Immich•5mo ago•
4 replies
Ruvyl

Hardware acceleration on Machine Learning

I recently moved my server from a Mini PC to a PC with Nvidia GPU.

The migration was smooth using Backup and Restore, now I am trying to enable Hardware acceleration.

It worked on Immich server but it is not working on Machine Learning, I noticed that I am missing -cuda on my Machine Learning image on my Docker Compose so I added that and Pulled and restarted my server.

After changing the image on Machine Learning, Immich is now asking me to setup credentials again. So I removed -cuda and pulled and restarted again, after that Immich is working again.

Here is parts of my the Docker Compose I tried when enabling hardware accel

services:
immich-server:
container_name: immich_server
image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}

extends:
file: hwaccel.transcoding.yml
service: nvenc # set to one of [nvenc, quicksync, rkmpp, vaapi, vaapi-wsl] for accelerated transcoding

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}-cuda
extends: # uncomment this section for hardware acceleration - see https://immich.app/docs/features/ml-hardware-acceleration
file: hwaccel.ml.yml
service: cuda # set to one of [armnn, cuda, rocm, openvino, openvino-wsl, rknn] for accelerated inference - use the
-wsl
-wsl
version for WSL2 where applicable
ports:
- '3003:3003'
volumes:
- model-cache:/cache
env_file:
- .env
restart: always
healthcheck:
disable: false
ImmichJoin
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.
36,590Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Verifying hardware acceleration for machine learning
ImmichIImmich / help-desk-support
4mo ago
Hardware acceleration
ImmichIImmich / help-desk-support
8mo ago
Help Setting up Hardware Machine Learning
ImmichIImmich / help-desk-support
2mo ago
Enabling hardware acceleration on ds224+
ImmichIImmich / help-desk-support
6mo ago