Dist: Update install-tensorflow.sh script #4979

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2025-05-05 11:57:54 +02:00
parent 4349087272
commit cbcee62444

View file

@ -84,6 +84,9 @@ if [[ $TF_DRIVER == "auto" ]]; then
elif [[ $(echo "${CPU_DETECTED}" | jq -r '.[0].capabilities.avx') == "true" ]]; then
TF_DRIVER="avx"
echo "✅ Your CPU supports AVX vector instructions"
elif [[ $(echo "${CPU_DETECTED}" | jq -r '.[0].capabilities.ssse3') == "true" ]]; then
TF_DRIVER="ssse3"
echo "✅ Your CPU supports SSSE3 instructions"
else
TF_DRIVER=""
echo "❌ Your CPU does not support any AVX instructions"