Comments (8)
Is there a NumPy 2 tracking issue for PyMC as well?
Searched for one, but didn't find it (though could very easily have missed it)
No, the only blocker for PyMC is PyTensor compatibility with numpy 2.0 (I think)
from pytensor.
#689 confirmed we need to pin it. CC @maresb
from pytensor.
Ok, I can put together a repodata patch to make it retroactive on conda-forge. The first step is to add it to our pyproject.toml, and ideally make a release containing the pin. (Conda-forge core prefers to see such retroactive changes being made for something that's already in the feedstock, so that's why a release would be good.)
Any idea on the timeline before the non-rc release drops?
from pytensor.
Any idea on the timeline before the non-rc release drops?
Couldn't find anything conclusive, but sounds like soon: numpy/numpy#24300
from pytensor.
On the conda-forge side I wrote a repodata patch, and then when I tested it didn't actually do anything...
Happily, in terms of Numpy, the conda-forge infrastructure currently automatically pins numpy<2.0.a0
to ensure binary compatibility, so my repodata patch was redundant. 🎉
There's the question of how to move forward once 2.0 becomes available, and this I'm less sure about. I'm testing adding a pin in conda-forge/pytensor-suite-feedstock#88, but there's the possibility that this interferes with the conda-forge magic (see conda-forge/pytensor-suite-feedstock#35).
My recommendation on how to proceed is that we keep an eye on the pins by checking the artifacts in conda-forge/pytensor-suite-feedstock before merging any of the version update PRs.
I'm very relieved that there is no threat of PyTensor breaking as soon as Numpy 2 is released. 😅
from pytensor.
Here us the issue to track ecosystem compatibility with numpy 2.0 numpy/numpy#26191 (comment)
from pytensor.
Hmmm, when looking around, I had stumbled on Aesara fork of Theano, but somehow not pytensor
. The one potentitially complicated change is that right now I removed MapIter
, because it is terribly slow (in the public API form) but having it public API means dragging.
Aesara was saying that they wanted to get rid of that code anyway, and I am almost betting that calling back into Python might be better than using PyArray_MapIter
(e.g. using ufunc.at()
is usually now fast, but of course not when running on some older NumPy versions)
Please let me know if this is a big issue, or if I can give some pointers in how to just replace the whole thing.
from pytensor.
Is there a NumPy 2 tracking issue for PyMC as well?
Searched for one, but didn't find it (though could very easily have missed it)
from pytensor.
Related Issues (20)
- Flaky `tests/tensor/rewriting/test_linalg.py::test_local_lift_through_linalg[kron-pinv-batched]` HOT 1
- Add option to implement vectorized hessian/jacobian
- BUG: `pt.full` doesn't work with int shape HOT 3
- ENH: Detect clang++ as a g++ alternative on Linux HOT 2
- Don't run mypy in pre-commit HOT 2
- BUG: <```uint64 dtype``` is broken for ```Max```> HOT 3
- Handle more AdvancedSetSubtensor ops in numba HOT 1
- Update xfail reason "Omnistaging can't be disabled" in JAX tests
- Missed scan rewrites
- CI is randomly skipping some jobs
- Add graph transformation to propagate new static shape info
- Error with Slogdet returning floats instead of arrays
- Consider using pr-labeler-action HOT 7
- Test issue
- Another test issue
- Get rid of pre-defined inplace Elemwise Operators?
- numba: Incorrect gradient and typing error
- Default typify in JITLinkers expects tensors/arrays, why?
- Torch: Investigate if `set_default_device/with_device` is a deal-breaker HOT 1
- Implement all Ops in PyTorch (help welcome!) HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytensor.