Releases: pymc-devs/pytensor
Releases · pymc-devs/pytensor
rel-2.30.3
What's Changed
New Features 🎉
- Support numba compiled
sort
andargsort
functions by @victorgarcia98 in #1309 - Inplace Composite and ScalarLoop Ops with multiple outputs by @ricardoV94 in #1322
- Allow specializing shape of predefined tensor types by @ricardoV94 in #1355
Bugfixes 🐛
- Fix bug in infer_shape of Blockwise(Subtensor) by @ricardoV94 in #1353
Maintenance 🔧
- Propagate static output shapes in Split and avoid copy in C-impl by @ricardoV94 in #1343
New Contributors
- @victorgarcia98 made their first contribution in #1309
Full Changelog: rel-2.30.2...rel-2.30.3
rel-2.30.2
What's Changed
Bugfixes 🐛
- Fix indexing in
convolve1d
withmode="same"
by @tvwenger in #1337 - More stable fix for JAX Multinomial by @ricardoV94 in #1339
Maintenance 🔧
- Don't run local uint constant indices in C/Python backends by @ricardoV94 in #1335
Full Changelog: rel-2.30.1...rel-2.30.2
rel-2.30.1
What's Changed
Bugfixes 🐛
- Fix nan for valid parameters in jax implementation of Multinomial by @ricardoV94 in #1328
Full Changelog: rel-2.30.0...rel-2.30.1
rel-2.30.0
What's Changed
Major Changes 🛠
- Simplify dispatch of JAX random variables by handling rng split automatically by @educhesne in #1315
New Features 🎉
- Add scipy-like
kn
helper by @Aarsh-Wankar in #1313 - Implement faster Multinomial JAX dispatch by @educhesne in #1316
- Implement gradient for QR decomposition by @educhesne in #1303
- Implement tridiagonal solve in numba backend by @ricardoV94 in #1311
- Implement batched convolve1d by @ricardoV94 in #1318
- Add numba overload for Nonzero by @Abhinav-Khot in #1289
Bugfixes 🐛
- Fix inplace/layout bugs in Numba lapack routines by @ricardoV94 in #1304
- Fix
get_vector_length
incorrectly returning for shared variable without static shape by @Abhinav-Khot in #1295
Maintenance 🔧
- Include Op in message when raising
NotImplementedError
from grad by @Aarsh-Wankar in #1314 - Provide static output shape for constant
arange
by @Abhinav-Khot in #1302
New Contributors
- @educhesne made their first contribution in #1315
Full Changelog: rel-2.29.0...rel-2.30.0
rel-2.29.0
What's Changed
Major Changes 🛠
- Deprecate batched blas helpers by @ricardoV94 in #1215
- Modify
atleast_Nd
to accept only one positional argument by @Abhinav-Khot in #1291 - Remove
Unbroadcast
Op by @ricardoV94 in #1286
New Features 🎉
- Add numpy-like
vecdot
,vecmat
andmatvec
helpers by @twiecki in #1250 - Allow more specialized
linalg.solve
assume_a
cases by @ricardoV94 in #1273
Bugfixes 🐛
- Fix
einsum
failing with repeated inputs by @Abhinav-Khot in #1260
Maintenance 🔧
- Allow passing numpy arrays to
transpose
by @velochy in #1258 - Speedup import time with lazy import of
scipy.stats
by @ricardoV94 in #1268 - Allow broadcasting in specialized numba dispatch of
AdvancedIncSubtensor
by @ricardoV94 in #1272 - Speedup
Scan
in different backends by @ricardoV94 in #1281
New Contributors
- @velochy made their first contribution in #1258
- @Abhinav-Khot made their first contribution in #1260
Full Changelog: rel-2.28.3...rel-2.29.0
rel-2.28.3
What's Changed
Maintenance 🔧
- Allow
transposed
argument inlinalg.solve
by @jessegrabowski in #1231 - Do not introduce 0 strides for broadcastable dimensions in DimShuffle by @ricardoV94 in #1267
Full Changelog: rel-2.28.2...rel-2.28.3
rel-2.28.2
What's Changed
New Features 🎉
- Allow ignoring specific rewrites from optimizer_verbose by @ricardoV94 in #1240
- Allow passing
trust_input
tofunction
by @Aarsh-Wankar in #1206 - Support more cases of numba advanced indexing by @ricardoV94 in #1254
Bugfixes 🐛
- Fix inner graph inplace rewrites in Numba / PyTorch backends by @ricardoV94 in #1247
Documentation 📖
- Improve elemwise docstrings by @fonnesbeck in #1255
Maintenance 🔧
- Don't use numba objectmode with vector boolean
inc_subtensor
by @ricardoV94 in #1243 - Speedup DimShuffle and Reshape in C and Numba backends by @ricardoV94 in #1226
- Handle MvNormal method in Op call by @ricardoV94 in #1252
Full Changelog: rel-2.28.1...rel-2.28.2
rel-2.28.1
What's Changed
New Features 🎉
- Add
print_shape
andprint_memory_map
option todebugprint
by @Aarsh-Wankar in #1236
Bugfixes 🐛
- Fix solve_triangular output when
overwrite_b=True
by @jessegrabowski in #1235 - Fix bug in
local_reshape_to_dimshuffle
by @ricardoV94 in #1242
Maintenance 🔧
New Contributors
- @Aarsh-Wankar made their first contribution in #1236
Full Changelog: rel-2.28.0...rel-2.28.1
rel-2.28.0
What's Changed
Major Changes 🛠
- Support Python 3.13 by @maresb in #1199
- Make PyTensor compatible with numpy 2.0 by @brendan-m-murphy in #1194
- Due to changes in the Numpy C-API AdvancedIncSubtensor1 no longer has a C-implementation when paired with numpy>=2.0. This operator shows up in the gradient graph of advanced indexing operations, which could now be slower when using the C backend.
- Raise explicitly on Python methods that are incompatible with lazy variables by @ricardoV94 in #1190
New Features 🎉
- Speedup implementation of multivariate_normal and allow
method
of covariance decomposition by @ricardoV94 in #1203 - Compute pushforward (Rop) via double application of pullback (Lop) and fix Scan and Max gradient bugs by @ricardoV94 in #1207
- Add LAPACK overloads for all variants of solve in Numba backend by @jessegrabowski in #1146
- Implement multinomial and inverse gamma in numba backend by @ricardoV94 in #1223
- Implement gradient for vector repetitions by @ricardoV94 in #1192
Bugfixes 🐛
- Rewrite reshapes that only expand or squeeze dims by @ricardoV94 in #1200
- Fix Blockwise and RandomVariable in Numba with repeated arguments by @ricardoV94 in #1222
Maintenance 🔧
- Simplify implementation of tile by @ricardoV94 in #1187
- Remove accidental print statements by @ricardoV94 in #1193
- PyTorch inline constants in dispatch to avoid graph breaks by @ricardoV94 in #1118
- Speedup scalar Op python implementations by @ricardoV94 in #1169
- Only do reshapes in
tensordot
when needed by @ricardoV94 in #1202
New Contributors
- @brendan-m-murphy made their first contribution in #1194
Full Changelog: rel-2.27.1...rel-2.28.0
rel-2.27.1
What's Changed
New Features 🎉
- Add rewrite for
1 ** x = 1
by @jessegrabowski in #1179 - Allow overwriting existing rewrites during registration by @AdvH039 in #1119
- Rewrite batched dots that do not reduce as multiplication by @ricardoV94 in #1178
Bugfixes 🐛
- Fix numba 0.61 compatibility by @ricardoV94 in #1186
- Fix einsum bug by @ricardoV94 in #1185
Documentation 📖
- Fix typo in installation instructions for conda-forge by @inclinedadarsh in #1173
- Small tweaks the prng doc by @ricardoV94 in #1183
- Fix broken docs references by @ricardoV94 in #1180
Maintenance 🔧
- Make BLAS flags check lazy and more actionable by @ricardoV94 in #1165
New Contributors
- @inclinedadarsh made their first contribution in #1173
- @AdvH039 made their first contribution in #1119
Full Changelog: rel-2.27.0...rel-2.27.1