From c45bb522cf049112f2a3cfd3396934ed506ae344 Mon Sep 17 00:00:00 2001 From: Indrek Haav Date: Thu, 31 Mar 2022 08:14:21 +0300 Subject: [PATCH] Slight tweak to the command that checks for AVX/AVX2 egrep is deprecated --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 12a9594..2e386a0 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ This downloads and extracts Golang to `/usr/local/go`, and creates a symlink to [Tensorflow](https://www.tensorflow.org/) is an AI library developed by Google. PhotoPrism uses it to classify photos and detect faces. The necessary version (1.15, as of the writing of this) can be downloaded from the PhotoPrism website. -Choose the appropriate Tensorflow build based on whether your CPU supports the [AVX or AVX2 instruction sets](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions). You can check by running `lscpu | egrep --color avx2?`. +Choose the appropriate Tensorflow build based on whether your CPU supports the [AVX or AVX2 instruction sets](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions). You can check by running `lscpu | grep -Eo 'avx2?\W'`. If you have [a reasonably recent CPU](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX2), you'll want the "avx2" version: