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

M1 MacOS support #3

Open
gnsoares opened this issue Sep 3, 2023 · 3 comments
Open

M1 MacOS support #3

gnsoares opened this issue Sep 3, 2023 · 3 comments

Comments

@gnsoares
Copy link

gnsoares commented Sep 3, 2023

Hello,

The tensforflow package cannot be installed in M1 Macs, so I propose modifying this line in the setup.py file from:

'tensorflow==2.11.1'

to:

 'tensorflow==2.11.1' if sys.platform != 'darwin' or platform.processor() != 'arm' else 'tensorflow-macos==2.11.0',
@uptacks
Copy link

uptacks commented Sep 4, 2023

I have been able to get this running on the MBA M2 2022. This can be done by commenting out the

'tensorflow==2.11.1'

line and replacing it to:

'tensorflow-macos',
'tensorflow-metal',

instead. This likely should be treated as a temporary fix to get up and running.

@duenez
Copy link
Collaborator

duenez commented Oct 2, 2023

Has this been resolved? Can we close this?

@dhrumilp15
Copy link

Running into RuntimeError: This version of jaxlib was built using AVX instructions, which your CPU and/or operating system do not support. You may be able work around this issue by building jaxlib from source.

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

4 participants