-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
AutoGluon v1.2 fails #661
Comments
It looks like AutoGluon ends up installing a more modern version of numpy (2.0.2 ). Requirements are violated during the installation of AG which results in this error. |
I think the long-term solution is probably to avoid using pickles and instead use parquet for everything (except we have to figure out what to do with sparse data). |
I was able to run a task with AutoGluon 1.2 on 2024-11-30. But I get this error now. This is probably due to the new release of numpy. Numpy 2.1.3 should be fine, numpy 2.2.0 is the problem probably. |
Tried numpy 2.0.0, still fails with the same message. |
Thanks for highlighting! This is actually also a bug in AutoGluon to an extent, because CatBoost doesn't support numpy 2.x yet. The problem is that we are installing scikit-learn-intelex as a separate install step in setup.sh: https://github.com/openml/automlbenchmark/blob/master/frameworks/AutoGluon/setup.sh#L49 Because the latest skex uses numpy 2, it force installs numpy 2, which breaks CatBoost. So this would harm AutoGluon's predictive quality quite a bit. It might have even harmed my latest benchmarks, I didn't look closely because we only added numpy 2.0 support very close to the release. To fix this we would want to include the Once I'm back from NeurIPS I'll try to take a look at this and see if I can fix. |
@PGijsbers Short term fix would be changing the skex install line from:
to
Not ideal, but should work. |
Feel free to try it out and merge if it appears to work |
Thanks for the message, will try tomorrow. Re:
That's what I was alluding to with
it wasn't meant to apply only specifically for AG, but for all frameworks in general. Relying on pickle is fickle (heh). |
Seems to work for |
Ah... Can you try adding logic to not do the |
When AutoGluon resorts to pickle files to transfer data between benchmark and framework process, the benchmark fails because there is an incompatible numpy version installed in the framework's virtual environment.
The basic autogluon tests on #656 succeeded, but failed on #657. The latter obviously should have no effect on the functioning of the integration, but now there is a
No module named numpy._core
error message. However, from the logs we see that the former used AutoGluon 1.1.1, whereas the latter has AutoGluon 1.2.The text was updated successfully, but these errors were encountered: