Comments (7)
Thanks for the heads-up! That's good news, I'll test it out and update the guide.
I'm assuming the builds include the "regular" (non-AVX) version of Tensorflow?
Do you have plans to publish the builds on Github? That would make linking to the most recent build more convenient.
from photoprism-debian.
Understood, thanks for the information!
from photoprism-debian.
Oh, that's a great question! Since I've built this on a modern AMD Ryzen CPU, it could be that the AVX2 TensorFlow libraries are bundled. However, the performance difference to the non-AVX version is not big, so we could bundle that instead. Which do you prefer? We will add the packages to the next stable release on GitHub, since we created the current packages after the Docker release (so the build number does not match).
from photoprism-debian.
Note that you can also manually replace the TensorFlow libraries in /opt/photoprism/lib/
with a different version.
from photoprism-debian.
Since I've built this on a modern AMD Ryzen CPU, it could be that the AVX2 TensorFlow libraries are bundled. However, the performance difference to the non-AVX version is not big, so we could bundle that instead. Which do you prefer?
I've seen issues where people are running PhotoPrism on an older CPU that doesn't support AVX2, so probably the non-AVX version would be the safest bet, especially if there's not a lot of difference in terms of performance.
FWIW, if you're planning to use Github Actions for the builds, then currently the non-AVX version should get bundled (though that might change if Github moves their runners to a newer architecture). I know because I've taken a stab at building PhotoPrism for Linux that way. I'll stop that, of course, now that you're publishing official builds.
from photoprism-debian.
I've seen issues where people are running PhotoPrism on an older CPU that doesn't support AVX2, so probably the non-AVX version would be the safest bet, especially if there's not a lot of difference in terms of performance.
I just checked our build scripts to confirm that the standard TensorFlow libraries (without AVX) are bundled. The install-tensorflow.sh
script tests CPU support for AVX/AVX2 only if you run it with "auto" as argument, which we do not do in this case.
FWIW, if you're planning to use Github Actions for the builds, then currently the non-AVX version should get bundled (though that might change if Github moves their runners to a newer architecture).
Due to previous security incidents related to GitHub and running a public CI infrastructure, we currently use a bare-metal server with no direct connection to GitHub to create binaries and run tests (with the exception of the docs repository, which uses GitHub Actions to generate HTML from Markdown). This also allows us to perform manual testing before an official release.
from photoprism-debian.
The installation package docs have been added to our public repository, so contributors can send pull requests with improvements:
from photoprism-debian.
Related Issues (19)
- Photoprism makefile refactor
- Unable to build the project HOT 14
- Automatic indexing HOT 6
- HTTPS HOT 1
- Golang 1.19 is available in backports HOT 2
- Setup-Fedora article link is bad - and hard to track down - but here is the text HOT 1
- tried loads following this on ubuntu HOT 17
- enable darktable or rawtherapee HOT 6
- HTTP ERROR 500 HOT 7
- Exec format error HOT 14
- ERRO index: open /opt/photoprism/assets/nasnet/labels.txt: permission denied HOT 1
- Cannot start service HOT 3
- nodesource deprecated script HOT 3
- Unable to start service HOT 2
- Update Photoprism Error HOT 4
- Error msg: Connection refused HOT 8
- Hardware Acceleration HOT 1
- One library missing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoprism-debian.