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

How to compile tensorflow? #6

Open
zhangwangwz opened this issue Apr 7, 2022 · 5 comments
Open

How to compile tensorflow? #6

zhangwangwz opened this issue Apr 7, 2022 · 5 comments

Comments

@zhangwangwz
Copy link

I have tried to compile tensorflow in my Raspi but it costed 2 days and more. I also have tried to cross compile it in an Ubuntu x64 but I can't configure the tool chain. So if it's possible to tell me how to compile it?

@Qengineering
Copy link
Owner

Indeed, compiling TF costs days.
The short route is using the provided wheels. No need to compile and you have TF up and running within an hour.
See the guide.

@zhangwangwz
Copy link
Author

Indeed, compiling TF costs days. The short route is using the provided wheels. No need to compile and you have TF up and running within an hour. See the guide.

So have you tried to compile tensorflow in x64? I believe it's a time saver to compile tensorflow if master the configuration of the tool chain

@Qengineering
Copy link
Owner

No need to compile TF in x64, although your absolute right, it saves a lot of time.
On the other hand, once compiled, you end up with the very same wheels, which need to be installed on your RPi.
We've lately cross compiled TF-Lite for the Raspberry Pi 4.

@zhangwangwz
Copy link
Author

No need to compile TF in x64, although your absolute right, it saves a lot of time. On the other hand, once compiled, you end up with the very same wheels, which need to be installed on your RPi. We've lately cross compiled TF-Lite for the Raspberry Pi 4.

Thank you for all you have done.

@Qengineering
Copy link
Owner

Your welcome!

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