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

any support for apple silicon? #26

Open
celaraze opened this issue Sep 9, 2021 · 4 comments
Open

any support for apple silicon? #26

celaraze opened this issue Sep 9, 2021 · 4 comments

Comments

@celaraze
Copy link

celaraze commented Sep 9, 2021

Now we can install tensorflow on apple silicon by miniforge and apple/tensorflow-macos
But I dont know if there's any support for it.

Thanks.

@mbeissinger
Copy link
Contributor

For this library, you can install tensorflow for the mac on your own (as long as it follows the tensorflow~=2.5.0 API and is callable in python with import tensorflow), and then pip install lobe should work with the tensorflow backend. I believe ONNX should also work on M1 chips, but I don't have a machine to test with.

@celaraze
Copy link
Author

celaraze commented Sep 9, 2021

Thanks for replying.
I will try it these days, and will give some feedbacks to you~
Have a nice day.

@celaraze
Copy link
Author

I found a way. M1 cannot directly install lobe [TF], but it can be implemented by installing parallel virtual machine on M1. The direct installation of lobe [TF] on M1 will prompt the unsupported architecture (armv7 is OK), but in Debian in the virtual machine, I successfully installed and ran lobe [TF]. Debian is also arm64, which is amazing!

@celaraze
Copy link
Author

I found a way. M1 cannot directly install lobe [TF], but it can be implemented by installing parallel virtual machine on M1. The direct installation of lobe [TF] on M1 will prompt the unsupported architecture (armv7 is OK), but in Debian in the virtual machine, I successfully installed and ran lobe [TF]. Debian is also arm64, which is amazing!

update,
before run pip install "lobe[tf]" , Your must run conda install tensorflow first, or won't install lobe[tf] correctlly.

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

No branches or pull requests

2 participants