-
Notifications
You must be signed in to change notification settings - Fork 9
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-text build issues #1
Comments
Although I want to share you how to build in as much detail as possible, there are still various problems. There are three main aspects:
|
I would love to use your precompiled wheel, however unfortunately I'm working with a project that only supports Java 8 at the moment and going to be using the JAVA api for tensorfow. As such, your precompiled wheel is for tensorflow-text version 2.8.1, which requires tensorflow version 2.8. Unfortunately, the only version of the tensorflow java project that is compatible with 2.8+ is 0.5.0 which only supports Java 11+... As you can see I'm in a bit of a predicament here... If you could supply a wheel for 2.7 of tensorflow-text I would be forever grateful. In the meantime, I'll loop back around and get provide more details regarding my initial question & error message |
Looping back around I checked out branch 2.7 which looks to have your commit which adds M1 support as its latest commit. running ./oss_scripts/run_build.sh I get the following error:
MacOS == 12.3.1 |
This tutorial currently only works with |
That's strange... when I ran the /oss_scripts/run_build.sh with bazel 4.2.2 on the latest commit of 2.7 I get the following error:
|
That's because the source code of |
In this case you may need to modify the build script to switch the downloaded |
I do believe the tensorflow version is set correctly
I encourage you to checkout |
I'm sorry that my previous build of |
I found a wheel from a previous PR, hope it helps you. |
Sadly it seems that wheel isn't the one I need... Do you have tensorflow_text-2.7.0-cp39-cp39-macosx_11_0_arm64.whl ? |
First off, I applaud you for maintaining these instructions for people struggling with getting things running on an M1 machine...
Following you instructions for building tensorflow_text, I run into the following issue:
I tried various suggestions on modifying the WORKPLACE file, but haven't been able to get around it....
The text was updated successfully, but these errors were encountered: