3/12/2024 0 Comments Download Sticky Previews 2.9![]() And project's pyproject.toml file was ok. When i moved to new M1 chip MacBook Pro project couldn't be build properly. I'd searched on internet and prepare new one. And on internet it is said that this is because compatibality problem between tensorflow packages.īut when i start training it failed with AttributeError: module '.tf_utils' has no attribute 'smart_cond'. I installed tensorflow-macos (2.8.0) and tensorflow-metal(0.3.0) tensorflow-addons from "Pip install -upgrade -force -no-dependencies " and tensorflow-text from: " Pip install git+ -no-deps". And now i am not able to work with M1 MacBook pro and still continue to use my windows machine. We need tensorflow libraries work on m1 chip. Tensorflow guys doesn't care about M1 chipset i guess. So we need from you to create addons and text packages for tensorflow. Here's a guide to make tensorflow-text work on M1. I used miniforge to create a virtual environment and installed the latest version of tensorflow-macos (2.10). I tried to add a link but the system didn't allow me to post this comment with that link (thanks btw that's really helpful /s) To install tensorflow-text for M1, you can find the built wheel for M1 on github. I could only find a wheel for tensorflow-text v 2.9. I tried to revert my tensorflow-macos to 2.9, but when I work with it, it throws an error "zsh: bus error". So I have to stick to tensorflow-macos to 2.10. Instead, you can build the wheel for tensorflow-text 2.10 from source on your machine. ![]() Clone the repository, checkout to tag 2.10, and build. Make sure your conda environment is activated when you do this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |