From 22556651984bfb0edb20ec5a924bcf855e711414 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 26 Mar 2026 11:03:00 +0100 Subject: [PATCH] update(frigate): bump to v0.17.1 and fix OpenVino model build - Bump Frigate from v0.17.0 to v0.17.1 (security fixes + bugfixes) - Fix OpenVino model build: move OpenVino install + model conversion BEFORE HailoRT wheels installation to prevent tensorflow/tflite_runtime conflict. The wheels install tflite_runtime which conflicts with the full tensorflow needed by openvino's model optimizer (undefined symbol in _pywrap_tensorflow_lite_metrics_wrapper.so). This matches the Dockerfile's multi-stage approach where OV conversion happens in a separate stage without tflite_runtime. --- install/frigate-install.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/install/frigate-install.sh b/install/frigate-install.sh index c31f5537b..777ea893c 100644 --- a/install/frigate-install.sh +++ b/install/frigate-install.sh @@ -110,7 +110,7 @@ export AUTOGRAPH_VERBOSITY=0 export GLOG_minloglevel=3 export GLOG_logtostderr=0 -fetch_and_deploy_gh_release "frigate" "blakeblackshear/frigate" "tarball" "v0.17.0" "/opt/frigate" +fetch_and_deploy_gh_release "frigate" "blakeblackshear/frigate" "tarball" "v0.17.1" "/opt/frigate" msg_info "Building Nginx" $STD bash /opt/frigate/docker/main/build_nginx.sh @@ -182,23 +182,6 @@ cp /opt/frigate/audio-labelmap.txt /audio-labelmap.txt rm -f /tmp/yamnet.tar.gz msg_ok "Downloaded Audio Model" -msg_info "Installing HailoRT Runtime" -$STD bash /opt/frigate/docker/main/install_hailort.sh -cp -a /opt/frigate/docker/main/rootfs/. / -sed -i '/^.*unset DEBIAN_FRONTEND.*$/d' /opt/frigate/docker/main/install_deps.sh -echo "libedgetpu1-max libedgetpu/accepted-eula boolean true" | debconf-set-selections -echo "libedgetpu1-max libedgetpu/install-confirm-max boolean true" | debconf-set-selections -echo 'force-overwrite' >/etc/dpkg/dpkg.cfg.d/force-overwrite -$STD bash /opt/frigate/docker/main/install_deps.sh -rm -f /etc/dpkg/dpkg.cfg.d/force-overwrite -$STD pip3 install -U /wheels/*.whl -ldconfig -msg_ok "Installed HailoRT Runtime" - -msg_info "Installing MemryX Runtime" -$STD bash /opt/frigate/docker/main/install_memryx.sh -msg_ok "Installed MemryX Runtime" - msg_info "Installing OpenVino" $STD pip3 install -r /opt/frigate/docker/main/requirements-ov.txt msg_ok "Installed OpenVino" @@ -228,6 +211,23 @@ else msg_warn "OpenVino build failed (CPU may not support required instructions). Frigate will use CPU model." fi +msg_info "Installing HailoRT Runtime" +$STD bash /opt/frigate/docker/main/install_hailort.sh +cp -a /opt/frigate/docker/main/rootfs/. / +sed -i '/^.*unset DEBIAN_FRONTEND.*$/d' /opt/frigate/docker/main/install_deps.sh +echo "libedgetpu1-max libedgetpu/accepted-eula boolean true" | debconf-set-selections +echo "libedgetpu1-max libedgetpu/install-confirm-max boolean true" | debconf-set-selections +echo 'force-overwrite' >/etc/dpkg/dpkg.cfg.d/force-overwrite +$STD bash /opt/frigate/docker/main/install_deps.sh +rm -f /etc/dpkg/dpkg.cfg.d/force-overwrite +$STD pip3 install -U /wheels/*.whl +ldconfig +msg_ok "Installed HailoRT Runtime" + +msg_info "Installing MemryX Runtime" +$STD bash /opt/frigate/docker/main/install_memryx.sh +msg_ok "Installed MemryX Runtime" + msg_info "Building Frigate Application (Patience)" cd /opt/frigate $STD pip3 install -r /opt/frigate/docker/main/requirements-dev.txt