text
text copied to clipboard
Unable to build locally on MacOS with Intel CPU
Starting from TF 2.17 there is no more builds for MacOS with Intel CPU available via PyPi. But TF Text package uses internal scripts to install TF from PyPi.
As result i have locally built and installed TF. But when i try to build TF Text, it downloads latest available TF version (2.16) and builds against it.
The only way i could solve that: replace "tensorflow" in oss_scripts/pip_package/requirements.in with
tensorflow @ file://localhost/Users/alex/Builds/tensorflow/tensorflow-2.18.0-cp311-cp311-macosx_14_0_x86_64.whl