Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPI3 compile w/ 0.10.RC0 #37

Closed
AlexanderLitz opened this issue Aug 28, 2016 · 4 comments
Closed

RPI3 compile w/ 0.10.RC0 #37

AlexanderLitz opened this issue Aug 28, 2016 · 4 comments

Comments

@AlexanderLitz
Copy link

Success.

A few things here - from a fresh Raspberry Pi3 install, you also need to install git, as well as the java JDK (I used Oracle)

You also need to change the Bazel minimum version in WORKSPACE under the main directory to:

check_version("0.2.0")

to get it to build. Not certain what happens when you don't revert to the version mentioned in the instructions. Could still work.

Also, I did turn on the flag to compile with 2 cores on the RPI3, and it worked fine. Again, not certain what the difference is in terms of compile time.

On graph accuracy, which some folks have complained about - when I used the release wheel (0.9.0) I was running into accuracy issues with graphs built w/ 0.10.0(basically, it didnt work at all), but after the native compile, the results between x64 Linux and RPI3 were identical.

I wonder why noone just releases the RPI wheel...would make things much easier.

Happy inferencing.

@samjabrahams
Copy link
Owner

Thanks for the extra things to look out for. I'll do a fresh install of Raspbian to make sure that dependency installation information is accurate. Whenever I update the wheels, I also update the build instructions.

I do release the RPi wheels, but I'm waiting for the official 0.10 release instead of just the release candidate. There were significant differences between 0.9RC0 and 0.9 in terms of installation, so I figure it makes sense to wait until the release goes gold.

@samjabrahams
Copy link
Owner

Just to keep progress: there are a couple bumps in the road that are causing a delay for the release of the next binary. TensorFlow 0.10 requires Bazel >= 0.3, which itself requires gRPC-java to be built from scratch on the RPi.

@samjabrahams
Copy link
Owner

Hi @AlexanderLitz -

Just wanted to point you to a preliminary 0.10 binary for Python 2.7. I'm still toying around with the build and trying out some new optimizations, so this might just be a stopgap binary for the next day or two/three, but I figure it's better than nothing.

@samjabrahams
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants