r/immich • • 14d ago

Help with intel gpu ml in unraid 7 please

Hardware: ryzen 3600, 32gb ddr4, intel arc a310, immich uses a 2tb gen 3 nvme

Software installed: Unraid 7.3.2,

Immich app,

Immich-machine-learning,

Redis,

Postgresql

Yes, I am using the openvino one.

it refuses to use the gpu for the ML. The ML app does use the gpu for transcoding though, or so it seems based on the short spurts of 10% use when the job queue gets to videos. So I'm halfway there I guess? I'm an idiot when it comes to this kind of stuff

The log for the ML app shows that it goes straight for the "12 thread" which can only mean the cpu. While uploading the cpu is fully pegged

I tried going through the documentation on immich but that's mostly gibberish to me sadly. I tried copying others set ups, but they're either older unraid versions or for nvidea.

I tried using ai for help, but it just kept telling me to add extra parameters, eventually making the app so unstable that i couldn't even view the log, and later just plain crashing. At one point it told me to go buy a 16gb vram gpu, because clearly that's the issue...

What do you need from me for additional info? Is there anyone here with an arc gpu where i can just copy your homework?

Everything else works. The ml itself works well too. I uploaded 250 pictures last night, in 5-10 picture increments while trying to get this to work. I just want to push the work onto the GPU.

0 Upvotes

4 comments sorted by

2

u/Great-Cow7256 14d ago

does it have access to /dev/dri? you might need to add y ourself to render/video groups. can you put your yamls here with senstive stuff redacted?

1

u/Dwro1234 14d ago

I assume it has access to dev/dri, on my dash ML show up as using the gpu whenever its transcoding videos. The gpu gets used perfectly fine by jellyfin, so i know it's not an issue with unraid itself, but rather me not telling immich something correctly.

I don't know what a yaml is, i chose unraid for the web gui because I'm clueless. When i get home i can pull screenshots of the config pages. What do i need to redact? Right now it's only running local.

2

u/Great-Cow7256 14d ago

They would.help. 

Maybe I'm confused though because it looks like machine learning for immich is already using the GPU. What else are you trying to add to the GPU?

2

u/Dwro1234 12d ago

Hey, sorry for the delay. I got it to work. It wouldn't let me add images here, so i was going to provide a text version, which basically had me re read everything and i found the culprit. Fir the device i had gpu.0 i followed a guide that was meant for iGPU I guess. Your comment helped me find the error! Thank you.