text icon indicating copy to clipboard operation
text copied to clipboard

Make tensorflow-macos version match to build wheel successfully on Apple Silicon.

Open tuzhucheng opened this issue 7 months ago • 3 comments

To make the wheel successfully build on Apple Silicon machines, we can do the following:

For the 2.15 release, the tensorflow-macos version should be 2.15.0: https://github.com/tensorflow/text/blob/2.15/oss_scripts/configure.sh.

For the 2.14 release, the tensorflow-macos version should be 2.14.0: https://github.com/tensorflow/text/blob/2.14/oss_scripts/configure.sh.

tuzhucheng avatar Nov 14 '23 23:11 tuzhucheng

Or we can directly install tensorflow even for macOS since starting from 2.13 it appears the arm64 wheels are included with tensorflow on pypi: https://pypi.org/project/tensorflow/2.15.0/#files.

tuzhucheng avatar Nov 15 '23 21:11 tuzhucheng

Yes, and we'd like to first put better testing in place and then update the references in configure.sh to tensorflow because it's supports Aarch64 wheels with an udpated setup.py shim.

yarri-oss avatar Nov 16 '23 01:11 yarri-oss

Hi, is there any update or ETA for this? Thanks.

markblee avatar Feb 07 '24 21:02 markblee