Skip to content

Commit

Permalink
TensorFlow: Update install-tensorflow.sh script
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Mayer <michael@photoprism.app>
  • Loading branch information
lastzero committed Apr 29, 2023
1 parent 199d3ef commit 1f31426
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/dist/install-tensorflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ if [[ $TF_DRIVER == "auto" ]]; then
TF_DRIVER="avx2"
elif [[ $(echo "${CPU_DETECTED}" | jq -r '.[].capabilities.avx') == "true" ]]; then
TF_DRIVER="avx"
else
TF_DRIVER=""
fi
fi

Expand Down

0 comments on commit 1f31426

Please sign in to comment.