-
Notifications
You must be signed in to change notification settings - Fork 48
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
Kernel crashed when executing gpboost code #69
Comments
Thank you for reporting this! There is currently no pre-compiled version on PyPI for the Mac M1. This means that you have to to do the compilation yourself. See the discussion #51 for more details. |
FYI: The R package has a pre-compiled macOS arm64 on CRAN. |
Thanks for your reply! Unfortunately I'm still experiencing the same issue after building the package (using Apple Clang and cmake) and installing from the source. I didn't get any error message during the installation process so it all seemed to work fine but the code just didn't run. The R package is a workable solution but I would love to know if there's anything else I can do to resolve this. Thanks! |
Thank you for your update. Unfortunately, I cannot reproduce this. I have tried installing the gpboost Python package on a M1 Mac mini on scaleway and it works without any problems for me both using clang or gcc after following these instructions. @estsauver once mentioned in #51 the option to fund a scaleway instance for GPBoost. Unfortunately, I have not heard anything so far. Once this is set up, I can provide a pre-compiled macOS arm64 version on PyPI. |
@melantha-wang: Just to double check that it is not an issue with the sklearn interface: does this code work for you? |
Unfortunately that didn't work either. It crashes as soon as I run One thing I just noticed was that if I installed from source, I can only see the egg-info ( |
Yes, this is probably the reason. You need to have a |
A macOS arm64 chip pre-compiled version is now on PyPI. You should now be able to install with pip on M1 / M2 Macs without any problems as compilation is not required anymore. |
Thanks for the update! I'm still having the same issue of kernel crashing though... (I can install & import successfully but the kernel crashed every time I tried to call a function within the package). |
Thank you for your feedback. Two things that might help:
With this, it it runs on my arm64 Mac. I hope this helps. |
Hi Fabio,
Thanks for the awesome package! I just started to play around with the Python package and when running this code example in jupyter I kept receiving this error message:
I was able to import the library but Python would crash as soon as I run this line:
Do you have any idea what could have caused this? I'm working on a M1 machine in case that can be relevant.
The text was updated successfully, but these errors were encountered: