-
Hi Guys, As per title. I have a working immich LXC I dont wanna mess with too much. I opted out of using OpenVino and have disabled the machine learning in my instance. Id like to make a backup of my LXC and have a play with OpenVino. Is there a simple way to install this to match what the script would normally do? I dont want to break the container and/or its update functionality via script. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Should actually be possible with these lines without any problems, right @vhsdream ? touch ~/.openvino
tmp_dir=$(mktemp -d)
pushd "$tmp_dir"
curl -fsSLO https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17384.11/intel-igc-core_1.0.17384.11_amd64.deb
curl -fsSLO https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.17384.11/intel-igc-opencl_1.0.17384.11_amd64.deb
curl -fsSLO https://github.com/intel/compute-runtime/releases/download/24.31.30508.7/intel-opencl-icd_24.31.30508.7_amd64.deb
curl -fsSLO https://github.com/intel/compute-runtime/releases/download/24.31.30508.7/libigdgmm12_22.4.1_amd64.deb
apt install -y ./*.deb
popd
rm -rf "$tmp_dir"
dpkg -l | grep "intel-opencl-icd" | awk '{print $3}' >~/.intel_version |
Beta Was this translation helpful? Give feedback.
-
@Scales82 - @MickLesk has one part of it, but there are other things you need to do, and it's not exactly straightforward. Such is life. Ensure device passthrough - without this it will never work
![]()
Install additional packages
Rebuild Immich Machine-learning with OpenVino supportI started writing all the things you'll need to do here, but then I realised we can just use the helper script to force an update, which will do the rest of the heavy-lifting for you. Now, I think that as long as you have the empty file Just edit I'm glad you said you're going to take a backup of your LXC, because I have not tested this, but in theory it should work. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Seems to have worked, did your instructions and ran the update. turned on machine learning and ran facial recognition. the host is registering action on python when I run intel_gpu_top. And the tail log is registering faces detected. So think thats a win! |
Beta Was this translation helpful? Give feedback.
@Scales82 - @MickLesk has one part of it, but there are other things you need to do, and it's not exactly straightforward. Such is life.
Ensure device passthrough - without this it will never work
/dev/dri/card[number]
and/dev/dri/renderD12[number]
need to be accessible to theimmich
user. You can pass these through via the GUI:immich
user is in thevideo
andrender
groups (check from inside the LXC:groups immich
. If the groups aren't in the output, then dousermod -aG video,render immich
).Install additional packages
patchelf
from the Testing repo:apt install -t testing patchelf -y
Rebuild Immich Machi…