-
Notifications
You must be signed in to change notification settings - Fork 614
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-addons doesn't work with tensorflow-macos #2503
Comments
Can you use this compilation? Otherwise you may need to build from source in order to use custom ops. Python ops should work fine (since custom ops are lazily loaded) but you may need to download the whl yourself in order to install |
same issue |
The attached patch enables source build on M1 Mac. |
Please review the pull request. |
@Liu-Da Can you test that PR on your M1? |
Yes, I did. The steps are as follows. create python virtual environment(I installed python 3.9.5 with pyenv and pyenv-virtualenv.) install tensorflowpip install tensorflow-macos install bazel 3.7.2xcode-select --install || echo OK install tensorflow-addonsgit clone -b mywork https://github.com/tetsuyasu/addons.git/ |
This is a sample build for Python3.9. tensorflow_addons-0.14.0.dev0-cp39-cp39-macosx_11_0_arm64.zip |
(sorry if this is not the space for this question) How can I use this solution to install tensorFlow-addons into a Conda environment under macOS M1? |
Instructions to install TensorFlow in a Conda Environment #153 |
It would be nice if you can add something in the |
I installed it using pip in console but with my environment activated. |
Is there any update/current status here? This is still an issue in 2023, and a blocking one for my current development on my new M1/M2 MacBook. |
Also an issue for me. I receive an error when trying to install tensorflow-addons on Docker ubuntu image (running in M1):
|
Same here.
|
Same here. |
Describe the feature and the current behavior/state.
On my Mac with M1, on which TensorFlow 2.5 for Mac is installed,
pip install tensorflow-addons
fails with this error:Here's the output of
pip list
:Relevant information
If you wish to contribute, then read the requirements for new contributions in
CONTRIBUTING.md
Who will benefit with this feature?
Users of TensorFlow for Mac.
Any other info.
The text was updated successfully, but these errors were encountered: