-
Notifications
You must be signed in to change notification settings - Fork 288
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
Tensorflow-io lacks a linux-arm64 #1441
Comments
@leah-jo Which tensorflow arm64 package are you using? When I look at the https://pypi.org/project/tensorflow/#files I don't see a arm64 package so I am wondering about the package you have. Assuming we can get access to tensorflow arm64 package, it could still be a little challenging as we will need to have access to a linux arm64 machine as part of the CI. As far as I can see GitHub Actions does not have native linux arm64 support yet. (see actions/runner-images#2552) The only viable option at the moment, is to build the arm64 binary inside a docker container with QEMU. The link actions/runner-images#2552 referenced several QEMU's so it might be possible. |
Thanks for your reply! I installed tensorflow through the installing tensorflow for Jetson platform guide provided by NVIDIA (https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html), so you may need a Jetson device to get an arm64 package. |
As TensorFlow 2.6-rc2 now requires tensorflow-io-gcs-filesystem I am working on building it for AArch64 as part of Linaro TensorFlow builds. |
https://snapshots.linaro.org/ldcg/python-cache/ has aarch64 tensorflow-io packages if someone needs. versioned as "0.20.0" but they are git HEAD ones. |
https://git.linaro.org/ci/job/configs.git/tree/ldcg-python-manylinux-tensorflow/ansible has playbook/roles I use |
@hrw This is nice! Would you mind adding a small section in README.md so that more people can try out the package for arm64? |
Feel free to add. This cache is public. No warranty, may eat your kitten etc. One day CI systems will get aarch64 builders and user will just fetch from official places. |
Hi @hrw, I installed the tensorflow-io-gcs package as shown in the screenshot but I still have issues when installing TensorFlow. I have shown the Python version and OS that I am working with. |
Started Ubuntu:20.04 container:
Installed fine with our Tensorflow build. |
export PIP_EXTRA_INDEX_URL=https://snapshots.linaro.org/ldcg/python-cache/ was the step needed. Thanks. |
related tensorflow/tensorflow#51976 ? |
Nope. #1528 is related. And packages are in Linaro cache already. |
@yongtang can building of aarch64 packages be added to the project? What is needed to make it happen? |
@hrw That will be welcomed! At the moment, the challenge is that for every commit we cannot build aarch64 with GitHub Actions as aarch64 is not supported. If a community aarch64 build environment is available that can at least compile and build the commit, and makes pip package available for download, then we can push the aarch64 pip package when releasing. Otherwise we may have to wait for GitHub Actions to provide aarch64 support first I guess. |
Hi @yongtang if Linaro enabled nightly builds of tensorflow-io for aarch64, what testing would be needed for you to take the generated wheels after a release and upload them to your pypi repository? Is this a workable scenario? |
The PR #1613 would also be very helpful for this. |
tensorflow-io releases since 0.24.0 have included wheels for manylinux2014_aarch64 so this issue can probably be closed now. |
Close as this issue is resolved. Thanks all for the help and contribution! |
I tried to download tensorflow-io and got the error code as follows.
I'm using NVIDIA's Jetson Nano board which supports ubuntu 18.04 and arm64. There was no wheel file equivalent to linux-arm64 on pypi.org. Could you add a wheel file for linux-arm64 at tensorflow-io 0.16.0 or tensorflow-io 0.15.0 ? I need either tensorflow-io 0.15.0 or tensorflow-io 0.16.0 because I’m using tensorflow 2.3.0.
The text was updated successfully, but these errors were encountered: