text icon indicating copy to clipboard operation
text copied to clipboard

Release aarch64 wheels

Open dwyatte opened this issue 3 years ago • 8 comments

With tensorflow 2.10, it looks like TensorFlow is starting to support aarch64. If I recall correctly, tensorflow-text builds for aarch64. Would it be possible to start building those wheels as part of tensorflow-text releases and publishing to PyPI?

dwyatte avatar Sep 08 '22 21:09 dwyatte

I expect we should be able to. Let me reach out to the TF infra team to figure how to jump onto this deployment path.

broken avatar Sep 08 '22 22:09 broken

After discussing with the core team, that is just a fake wheel that really calls out to the one released by the AWS/ARM/Linaro group. They have an announcement about it here. As such, we are unlikely to add these packages to our releases simply because the build infrastructure isn't there for us.

broken avatar Sep 09 '22 23:09 broken

Apple recently released new versions of tensorflow-macos 2.11 and tensorflow-metal 0.7, with which it was possible to compile tensorflow-text with the usual procedure. I got the resulting wheels for python3.9 and 3.10 to run after building them, but it was very strangely not repeatable, and the wheels are broken. (Apologies for asserting otherwise earlier.)

maparent avatar Dec 11 '22 17:12 maparent

I built wheel with python 3.12 and tensorflow 2.16.1 from this source but the procedure wasn't straightforward and it must be done within docker container running on apple silicon. You may try my build if you're facing any issues until there's official binary provided by the team.

pip install https://github.com/nicechester/tensorflow-docker/raw/main/wheels/tensorflow_text-2.16.1-cp312-cp312-linux_aarch64.whl

nicechester avatar May 23 '24 20:05 nicechester

Bumping this up. It would be great to have aarch64 wheel for tensorflow-text. This is the only packages that is missing on GraceHopper nodes to install maxtext the same way as on x86.

nouiz avatar Jul 17 '24 19:07 nouiz

Thanks for bumping, we are taking a look and we'll update when we have more info.

christinaburge avatar Jul 30 '24 11:07 christinaburge