-
Notifications
You must be signed in to change notification settings - Fork 88
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
Seg fault with numpy 2.0 - possibly just from Polars #354
Comments
The primary issue is with polars, I've reported it here: pola-rs/polars#16998 Could mlforecast pin numpy<2.0 for the moment? |
We currently have polars only as a dev requirement (to run the tests) Lines 18 to 25 in 2ec60c1
In my opinion the pin should come from polars, since that's where the incompatibility is at the moment. |
polars added the pin in their numpy extra, so this should be fixed by using: |
What happened + What you expected to happen
Calling .fit or .cross_validaation gives a seg fault with numpy 2.0. The MRE below works with pandas but fails with Polars (try removing
pl.from_pandas
)Versions / Dependencies
polars==0.20.31
pandas==2.2.2
numba==0.60.0
numpy==2.0.0 (no issues when version is 1.26.4)
mlforecast==0.13.0
Reproduction script
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: