mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
Dist: Update install-tensorflow.sh script #4979
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
4349087272
commit
cbcee62444
1 changed files with 3 additions and 0 deletions
3
scripts/dist/install-tensorflow.sh
vendored
3
scripts/dist/install-tensorflow.sh
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue