-
Notifications
You must be signed in to change notification settings - Fork 279
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
Remove numpy<2
pin
#984
Comments
Hi @janosh 👋 Indeed I think we may be able to get away with just removing it. I haven't profiled the difference though. I do agree numpy 2 compatibility would be great, but since a lot of our ongoing training runs are using it, it would be easier to keep it for now. I haven't had time to delve into the numba docs, but my guess is that up to date versions should work with numpy 2. I'll look into this as soon as I get a chance, or just profile the difference without numba jit. |
numpy 2.1 is supported in the newest version of numba |
It does not look to me that torch_geometric 2.6.1 requires numpy<2 although perhaps they do not admit they depend a lower version. |
It's not explicitly set as a dependency, but you can see in these failing tests the usage of the now removed |
_balanced_partition
appears to be the only function that usesnumba
for jitting.fairchem/src/fairchem/core/common/data_parallel.py
Lines 43 to 59 in d513ffa
@zulissi this seems like a low-cost function that only mildly benefits from JIT (didn't test, could be wrong, just judging from reading the function). unless there are additional reasons for down-pinning
numpy
that i'm unaware of, maybe it makes sense to remove that decorator and the version pin onnumpy<2
entirely? the benefits ofnumpy
v2 compatibility might be worth more than mildly faster_balanced_partition
The text was updated successfully, but these errors were encountered: