AI: Update libtensorflow-avx512 build target in Makefile #222 #4922

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-04-06 10:00:20 +02:00
parent c9e305808b
commit 5650ea29b5

View File

@@ -19,5 +19,5 @@ libtensorflow-vnni:
bazel build -c opt //tensorflow:libtensorflow.so --copt=-O2 --copt=-mavx2 --copt=-mavxvnni --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2
./create_archive.sh amd64-vnni $(TF_VERSION)
libtensorflow-avx512:
bazel build -c opt //tensorflow:libtensorflow.so --copt=-O2 -copt=-mamx-avx512 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2
bazel build -c opt //tensorflow:libtensorflow.so --copt=-O2 --copt=-mavx2 --copt=-mamx-avx512 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2
./create_archive.sh amd64-avx512 $(TF_VERSION)