-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add Mac OS specific installation instructions #12
Comments
I am using Mac OS here and created a new conda env and download all the packages in the requirement.txt but not the apt-get packages. This is the thing I got after reinstalling numpy (the version from the git throws error that the Apple Accelerate backend might be at fault) Hope to have a Mac OS installation instruction soon so I can start playing around the model! Error compiling Cython file:... cython: language_level=3from numpy.random cimport bitgen_t
|
@billlyzhaoyh just a quick note here that might help before we get the more official process in the documentation Reina is using dev version of numpy that needs to be compiled, here's how I managed to get it done on Mac:
Also you need to have redis cache running before launching the model
|
The errors I encountered with the newest version of numpy is this: RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy. By tracking the changes on github this seems to be something that was added this version. Do you have any idea why? |
I have fixed the numpy import problem by using openblas and I followed your instructions and used this command to execute with redis running: The error messages generated are attached below: During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Do you know why clang++ is not executing in this case? |
@terotic I added support for running with Docker here, which works fine with Mac OS as well other platforms: https://github.com/jukvalim/reina-model I created a PR for it, just in case it's something you'd like to have. |
Fantastic, thank you @jukvalim ! This is now merged. Ping: @billlyzhaoyh |
No description provided.
The text was updated successfully, but these errors were encountered: