Using hardware acceleration with Immich?

I’m aware that Immich/Immich ML supports hardware acceleration but I don’t believe DietPi-Software sets it up so hardware acceleration is able to be used. Is this something that can be added when installing the software and if so, should I open a GitHub issue on it? If not, is there a way to manually set it up after installing it and if so, how would I do it?

Hello Camry2731 and welcome to the DietPi forum!
What device do you use?
And did you read immich/docs/docs/features/ml-hardware-acceleration.md at b9e0e65bdbf0dbaa0fe04108e85907cd308ef74a · immich-app/immich · GitHub yet?

I have a Mini PC with an 11th Gen Intel(R) Core™ i3-1115G4 with 32GB of RAM. I did read the doc you sent. Adding to the compose would be the likely option. I’m assuming it’d be modifying the immich.service? Any update would probably break this I’d imagine.

Why should an update break anything?
And you could add an overwrite to the service. This way you don’t need to touch the original one

Since updating it is a reinstall wasn’t sure if it would wipe any changes I made because of it.

Wasn’t aware it was a thing but good to know. I’ll probably goes this route then. Thanks for the assist.

you know how systemd overwrites are working?

One more thing: we do not use Docker to run Immich. It is a customised native installation. You will therefore need to adapt the settings that are normally configured in Docker for the native installation. If you also need to set environment variables, you can do so in the relevant env file. This means you do not need to modify the service file.

Thanks for all the info. Still have much to learn with all of this. I’ll reach back out if I run into any snags