Commit Graph

52 Commits

Author SHA1 Message Date
Michael Mayer
83717bda02 TensorFlow 2: Build AMD64 binaries for generic x86-64 march #4979
see https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-05 10:57:01 +02:00
Michael Mayer
333c54f3a2 TensorFlow 2: Build AMD64 binaries with "nocona" compatibility #4979
see https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-05 10:46:22 +02:00
Michael Mayer
80e6d02509 TensorFlow 2: Build AMD64 binaries with Prescott compatibility #4979
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-05 10:41:58 +02:00
Michael Mayer
4484b885d4 TensorFlow 2: Update docker/tensorflow/Makefile #4979
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-05 10:33:49 +02:00
Michael Mayer
2b788fd258 TensorFlow 2: Build AMD64 binaries with Pentium 4 compatibility #4979
see https://github.com/photoprism/photoprism/discussions/4979

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-05-05 10:32:32 +02:00
raystlin
ae735f6a1e Migrated arm64 Dockerfile to jammy
To support more gcc versions
2025-04-07 06:08:05 +02:00
raystlin
fd0baeb5a4 Modified comment on Dockerfile
Simply to add the llvm installation to the existing comment.
2025-04-07 06:08:05 +02:00
Michael Mayer
332e57d59f AI: Update build target and install-tensorflow.sh for AVX512 #222 #4922
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 10:15:34 +02:00
Michael Mayer
5650ea29b5 AI: Update libtensorflow-avx512 build target in Makefile #222 #4922
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 10:00:20 +02:00
Michael Mayer
c9e305808b AI: Add nano package to tensorflow Dockerfiles #222 #4922
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 09:41:26 +02:00
Michael Mayer
efe36603f8 AI: Add libtensorflow-avx512 to default targets in Makefile #222 #4922
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 09:39:21 +02:00
Michael Mayer
96fdd1a41a AI: Add libtensorflow build target for Intel AMX-AVX512 #222 #4922
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 09:37:49 +02:00
Michael Mayer
0b9233f44b AI: Build libtensorflow with --copt=-O2 instead of --copt=-O3 #222 #4922
This should optimize for fast execution as much as possible without
significantly increasing the binary size.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 09:25:20 +02:00
Michael Mayer
3900573a7c AI: Fix libtensorflow tar.gz path in create_archive.sh #222 #4922
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 09:09:03 +02:00
Michael Mayer
d9c260b865 AI: Use Docker build argument to specify TensorFlow version #222 #4922
This also ensures that the archives will be created in /build.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 09:05:06 +02:00
Michael Mayer
a97d66d6e4 AI: Update libtensorflow build targets in Makefiles #222 #4922
This normalizes the archive names and adds required compiler flags.

Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-06 08:35:06 +02:00
raystlin
0ff942342f AI: Improve TensorFlow for C build images and scripts (#4922)
* Fixed create_archive.sh

The previous version followed symlinks on doing the copy to a temporary
folder, so the resulting size was 3 times what it should be. Also
*.param files have been excluded from the final tar.gz file.

* Migrated tensorflow image to jammy

So as to build against an older version of glibc and support more OS
versions.

* Extend new create_archive.sh to all build types

The changes on the main create_archive.sh are now on all the other
versions.
2025-04-04 11:36:36 +02:00
Michael Mayer
6b26974ce7 TensorFlow: Upgrade build scripts to v2.18.0 #222
Signed-off-by: Michael Mayer <michael@photoprism.app>
2025-04-01 23:43:22 +02:00
Michael Mayer
db7fcbbd62 Build: Update author and copyright notices
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-05-01 12:28:55 +02:00
Michael Mayer
5903cefee3 Docker: Keep old config files when updating packages
Signed-off-by: Michael Mayer <michael@photoprism.app>
2023-03-20 21:07:40 +01:00
Simon Rettberg
b57201d3fc Docker: Fix tensorflow Dockerfile (#1964)
There are no more *.diff files as of 4f05fde794 so the COPY
command for *.diff makes building the container fail.
2022-03-23 16:23:23 +01:00
Michael Mayer
c91fa51be7 Docker: Move init scripts to /scripts and rename $DOCKER_ARCH #2076
DOCKER_ARCH has been renamed to PHOTOPRISM_ARCH as it can be used
for installing deps outside of Docker environments as well.
2022-03-11 09:05:42 +01:00
Michael Mayer
88cc1b3a73 Docker: Move build init scripts 2022-02-18 17:40:58 +01:00
Michael Mayer
e9fabfa8e4 Docs: Update URL 2021-12-12 20:14:07 +01:00
Michael Mayer
96b9979b2f Update maintainer email in Dockerfiles 2021-05-16 16:08:49 +02:00
Michael Mayer
2bbcc987e3 Videos: Upgrade Ubuntu base image to 20.10 #703 2021-02-15 12:08:04 +01:00
Michael Mayer
7fe9d04b3d Docker: Optimize images and entrypoint.sh scripts 2021-01-17 11:56:28 +01:00
Michael Mayer
655eb0456a Fix .tf_configure.bazelrc for ARM64 2020-04-28 12:42:29 +02:00
Michael Mayer
deaf33ff26 Fix TensorFlow build environment for ARM64 2020-04-28 12:27:19 +02:00
Michael Mayer
4f05fde794 Update build environments 2020-04-28 11:51:42 +02:00
Michael Mayer
c4d7850228 TensorFlow: Set version to 1.15.2 2020-04-27 20:22:55 +02:00
Guy Sheffer
6e5be73f9c Add 64bit Docker image for Raspberry Pi #109 (PR #207)
* Inital work for raspberrypi arm64 docker container #109

* Add aarch64 docker container to build tensorflow

* Add tensorflow for aarch64

* Add docker compose for raspberrypi running on 64bit kernel
2020-01-19 21:30:44 +01:00
Guy Sheffer
a4014ba560 Docker: Fix path, because files are in the same folder (#200) 2020-01-15 19:54:33 +01:00
Michael Mayer
7981bf6d82 Fix Makefile for building TF on Linux #83 2019-06-27 11:25:14 +02:00
Michael Mayer
852d13797a Improve to TF build image and scripts incl AVX2 support #83 2019-06-27 03:22:09 +02:00
Michael Mayer
dd0f2b75ce Fix Makefile for tensorflow build image #83 2019-06-26 02:47:27 +02:00
Michael Mayer
f2b6cf169d Rename libtensorflow-linux-x86_64-avx to libtensorflow-linux-avx #83 2019-06-26 00:27:05 +02:00
Michael Mayer
0756167115 TensorFlow: Use tmp/ instead of archive/ as temp path #83 2019-06-26 00:17:10 +02:00
Michael Mayer
84aefc1272 Add Makefile & config to TensorFlow 1.14.0 build image #83 2019-06-25 23:08:53 +02:00
Michael Mayer
ec518628c8 Build TensorFlow v1.13.1 in Docker container #83 2019-06-23 03:21:12 +02:00
Michael Mayer
ff3a58ddf8 Upgrade to Go 1.12.6; add chromedriver via NPM 2019-06-17 22:39:32 +02:00
Michael Mayer
aab504ffd6 Initial support for HEIF image files incl improved tests & example files 2019-06-06 14:44:35 +02:00
Michael Mayer
d26f7fb0dc Docker: Add testcafe and firefox to development image; change mysql port 2019-05-20 16:39:41 +02:00
Michael Mayer
8124a8cde1 Use label rules to optimize image classification 2019-05-16 08:41:16 +02:00
Michael Mayer
c5e2783b8d Upgrade Go to 1.12.5, improve Makefile and add chromium-browser 2019-05-09 06:18:22 +02:00
Michael Mayer
940e2a69f9 Upgrade Webpack and JS dependencies 2019-05-07 15:41:33 +02:00
Michael Mayer
53a5d84653 Switch from yarn to npm and other frontend improvements, see #3
See https://iamturns.com/yarn-vs-npm-2018/
2019-05-07 02:05:01 +02:00
Michael Mayer
3389b5115e Use hash to keep TensorFlow model up to date 2019-05-04 00:53:02 +02:00
Michael Mayer
c157020dca Docker: Upgraded Go, TensorFlow and TiDB 2019-04-18 06:33:34 +02:00
Michael Mayer
c5ee0fee48 Add darktable development docker image #62
- Improved build scripts and Dockerfile
- broadwayd can be used as display server for darktable or other GTK based software
2018-11-12 06:58:39 +01:00