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
Any chance to get aarch64 for 1.13.1 too? #10
Comments
|
As a hobby volunteer I work on a weekend, I do not have enough working time to meet the needs of everyone. So, for now, I'm lowering the build priority of older versions. Build priority If you are in a hurry, consider building for yourself. or Jetson Nano |
|
Hi @PINTO0309 Thanks for your response. You work is very much appreciated :) I think I misunderstood the resulting pre binaries...I was looking for C binaries (.so) for Raspbian and aarch64. You can see I asked here and here but I didn't get much answers except "compile myself", which I was trying to avoid so far. Are you aware of someone shipping pre-build C libraries (.so) for ARM and ARM64? Thanks! |
|
@marianopeck |
|
Hi @PINTO0309 Thanks for your reply. I understand your point. And in fact, I have already started to try to compile myself. In the meanwhile, while I undertand that adding new versions/platform combinations is too much effort, did you consider to add support to not only build the Python wheel but also a shared library? As far as I understand, everything is exactly the same except the line:
which should be:
Thoughts? |
|
@marianopeck At the moment, I'm building only the Wheel file to make working with Python users much easier. |
|
HI @PINTO0309 Thanks for considering building the shared libraries. It's not minimize the great work you are doing, but just in case you didn't know, since a couple of releases there are OFFICIAL (from Google) Wheel even for the Raspberry. See the "Raspberry Pi" tab. However, they still do NOT offer shared libraries for the Pi. So, IMHO it would be more valuable to have shared libraries that Wheels, as Wheels are available officially. Best regards, |
|
Hi, @marianopeck
It is 1. that is considered a problem by engineers around the world. |
|
Wow. Thanks @PINTO0309 for the details!! I didn't know that. |
|
@marianopeck The experimental results are described below. Attention point is the following.
|
|
Hi @PINTO0309 |
|
You can find Bazel's pre-built binaries below. I saw an article about your great effort. I have been helped by freedomtan as well as you. By the way, I built an RaspberryPi emulation environment with QEMU 4.0.0 to solve the problem of SDCard corruption due to insufficient RAM and SWAP. |
|
Wow....that's pretty cool!!!! It would have save me quite some time. I will update my post with this info. Do you know if it is possible to know in advance which bazel version will a given version of TensorFlow need? |
|
For example, for Tensorflow v1.14.0:
# Select bazel version.
BAZEL_VERSION="0.24.1"
set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
if [[ "$local_bazel_ver" == "$BAZEL_VERSION" ]]; then
exit 0
fiFor example, for Tensorflow v1.13.2: # Select bazel version.
BAZEL_VERSION="0.20.0"
set +e
local_bazel_ver=$(bazel version 2>&1 | grep -i label | awk '{print $3}')
if [[ "$local_bazel_ver" == "$BAZEL_VERSION" ]]; then
exit 0
fi |
|
You rock! I will be adding this info in by post soon...thanks! |
|
@marianopeck Usage $ wget https://github.com/PINTO0309/Tensorflow-bin/raw/master/C-library/1.14.0-armv7l/libtensorflow.tar.gz
$ tar -C /usr/local -xzf libtensorflow.tar.gz
$ rm libtensorflow.tar.gz
$ sudo ldconfig |
|
Hi @PINTO0309 That worked perfectly!! Does that means you will start shipping them too? :) |
|
@PINTO0309 BTW, I also have 64 bits OS running on the Pi3 (like Armbian and Ubuntu Server)...so...if you give me a aarch64, I can also test them there! Would love to get aarch64 too :) |
|
@marianopeck |
|
Hi @PINTO0309 |
|
@marianopeck |
|
@marianopeck |
|
Hi @PINTO0309 I am under Ubuntu 18.04: And: I am using I already did a: I have searched SO a lot but I cannot find an easy way to workaround this. Any idea? |
|
There is no way to just link to |
|
@marianopeck In order to make a binary that can be used smartly in your environment, it may be early to rebuild with Ubuntu 18.04. I need a lot of time to prepare the environment. |
|
Hi @PINTO0309 For example, I just tried on my other device, a Rock64 with Armbian 64 bits. And it has |
|
I think that building glibc on my own seems to be a quick solution. |
Hi @PINTO0309 Thanks! |
|
Since you guys are the professionals here... I have questions. So I can support this project: https://github.com/snowzach/doods |
|
HI @snowzach I wrote the best I could here and here. I couldn't write yet, but I also succeeded on Rock64 with something like this: With tensorflow 14.0 and bazel 24 |
|
Thanks @marianopeck and @PINTO0309 between you two guy's resources, I have managed to get my container building for the pi. I am waiting for my SDCard so I can do an aarch64 build next for my odroid c2. |
|
Excellent! Just curious, which aarch64 OS are you planning to use for the
odroid?
…On Wed, Aug 21, 2019, 10:36 Zach ***@***.***> wrote:
Thanks @marianopeck <https://github.com/marianopeck> and @PINTO0309
<https://github.com/PINTO0309> between you two guy's resources, I have
managed to get my container building for the pi. I am waiting for my SDCard
so I can do an aarch64 build next for my odroid c2.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AAH4FATIO3UV5B4GPLG54C3QFVAE7A5CNFSM4IAMJRF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4ZV3UQ#issuecomment-523460050>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAH4FAVFG5XORB4BA3S7CALQFVAE7ANCNFSM4IAMJRFQ>
.
|
|
@marianopeck armbian buster seems to be the easiest thus far. |
|
I was gonna suggest that too :) I used Armbian Buster aarch64 in Rock64
and it worked great :)
…On Wed, Aug 21, 2019 at 10:48 AM Zach ***@***.***> wrote:
@marianopeck <https://github.com/marianopeck> armbian buster seems to be
the easiest thus far.
https://www.armbian.com/odroid-c2/
I have based all of my builds off of buster. It's kinda large but I'm
packing a lot of libraries in there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10?email_source=notifications&email_token=AAH4FAXFNBFSSNJQXQDLIILQFVBSNA5CNFSM4IAMJRF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4ZXDUI#issuecomment-523465169>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAH4FARQAW6OOAPTMQ3YELDQFVBSNANCNFSM4IAMJRFQ>
.
--
Mariano Martinez Peck
Email: marianopeck@gmail.com
Twitter: @MartinezPeck
LinkedIn: www.linkedin.com/in/mariano-martinez-peck
<https://www.linkedin.com/in/mariano-mart%C3%ADnez-peck/>
Blog: https://marianopeck.wordpress.com/
|
|
As there has been no progress, I'm closing it. |
|
Hi, I just picked up some guides to start generating wheels for 32bit raspbian buster, I cant find where in this process do I start linking to .so files. |

[Required] RaspberryPi3 / Jetson Nano
[Required] armv7l and aarch64
[Required] Raspbian, Ubuntu Tegra
[Required] Overview of problems and questions:
I have a current binding against 1.13.1. I see there is only support for armv7l. But I would love to have to aarch64 too. I see 1.14.1 does have support for both, but it would imply upgrading the binding I am using.
Any chance for this to happen?
The text was updated successfully, but these errors were encountered: