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

Building MultiNeRF on Apple silicon (M1) #79

Open
umop opened this issue Dec 4, 2022 · 1 comment
Open

Building MultiNeRF on Apple silicon (M1) #79

umop opened this issue Dec 4, 2022 · 1 comment

Comments

@umop
Copy link

umop commented Dec 4, 2022

I followed the instructions in the README.md, but there was a problem when running unit tests with the Jax installation which appears to be due to the installed Jax not including builds for Apple (M1) silicon which my workstation is running on. I found jax-ml/jax#5501 which suggested reinstalling Python using the latest arm64 version of Miniforge (not Miniconda) then pip install jaxlib jax which I did. However, when I go through the installation steps in README.md again, I get an error while installing tensorboard during the following step:

pip install -r requirements.txt
 
...
Collecting tensorboard
  Using cached tensorboard-2.11.0-py3-none-any.whl (6.0 MB)
ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow

I'm fairly new to python development in general. Is there a better overall approach for building MultiNeRF on the M1 or is this not supported hardware?

@AuthorityWang
Copy link

It seems that your python version does not meet the demands, maybe you should upgrade your python that >=3.7 and <3.11. You need also install tensorflow with corresponding version for Apple M1, you can search for tutorials for installing tensorflow on M1. Besides, all the libs in this project can run on M1, but there may still have problems with this project.

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