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

how to use tf-text on mac m2 ? #17

Closed
aino-gautam opened this issue Oct 10, 2023 · 4 comments
Closed

how to use tf-text on mac m2 ? #17

aino-gautam opened this issue Oct 10, 2023 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@aino-gautam
Copy link

Hi,

I am trying to use tf-text on Mac M2. Not clear if your repo provides the wheel or only tutorial. pip3 install tf-text / tf_text results in no matching distribution.

TIA

@sun1638650145 sun1638650145 self-assigned this Oct 11, 2023
@sun1638650145 sun1638650145 added the documentation Improvements or additions to documentation label Oct 11, 2023
@sun1638650145
Copy link
Owner

@aino-gautam First, this repository provides tutorials. Additionally, to save time, you can directly download pre-compiled whl from the releases page. As for why you couldn't find a match, it's because the official distribution doesn't provide ARM whl.

@aino-gautam
Copy link
Author

Thanks for your kind response. Do you think it's feasible to build a wheel for ARM / M2 from source? My skills in CPP are not terrible 😊 or is the limitation because of metal lib from Apple?

@sun1638650145
Copy link
Owner

I'm not entirely sure what you mean, but if you're referring to building tensorflow-text from source, there is a tutorial available for that. The official releases are only provided for x86-64 macOS and Linux, similar to how Raspberry Pi support is community-maintained.

@sun1638650145
Copy link
Owner

@aino-gautam Due to your prolonged lack of response to this issue, I will now close this issue.

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

No branches or pull requests

2 participants