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
macOS arm64 support #3
Comments
I tried out both 2.4.1 and 2.5.0 x86_64 libtensorflow builds in OF 0.11.2 on an M1 MBP 13 (arm64) and the examples build, but crash when running in Rosetta2. Building will only succeed if arm64 is added to the Excluded Architectures in Target's Build Settings. |
The I have a new macOS M1 Pro system to test this on soon. |
From doing some research, it looks like there are no plans for libtensorflow to support GPU usage or the Neural Engine on the Apple Silicon CPUs. I will settle for native CPU only builds on arm64. As for iOS and TF Lite, I think we can leave that for later as a separate issue since there is some difference between TF2 and TF Lite models, as far as I can tell. |
Good news: the arm64 builds work fine on the macOS 12.2 M1 Pro system. I only needed to download the new libs, then change Build Settings->Excluded Architectures to |
The |
Add support for optimized libtensorflow builds for:
iOS (TensorFlow Light)possibly leave for laterReferences:
The text was updated successfully, but these errors were encountered: