Skip to content
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

Unable to build locally on MacOS with Intel CPU #1319

Open
shkarupa-alex opened this issue Oct 29, 2024 · 1 comment
Open

Unable to build locally on MacOS with Intel CPU #1319

shkarupa-alex opened this issue Oct 29, 2024 · 1 comment

Comments

@shkarupa-alex
Copy link

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.

@shkarupa-alex
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant