|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 1.12.0 (2025-05-13) |
| 4 | + |
| 5 | + |
| 6 | +### Major changes |
| 7 | + |
| 8 | +- The build system has been updated to use `pyproject.toml` instead of `setup.py` |
| 9 | +- Support for Python 3.9 has been dropped. The minimum supported Python version is now |
| 10 | + 3.10; the minimum supported NumPy version is 1.22. |
| 11 | +- The `linalg` extension works correctly with `pytorch>=2.7`. |
| 12 | +- Multiple improvements to handling of devices in CuPy and PyTorch backends. |
| 13 | + Support for multiple devices in CuPy is still immature and you should use |
| 14 | + context managers rather than relying on input-output device propagation or |
| 15 | + on the `device` parameter. Please report any issues you encounter. |
| 16 | + |
| 17 | +### Minor changes |
| 18 | + |
| 19 | +- `finfo` and `iinfo` functions now accept array arguments, in accordance with the |
| 20 | + Array API spec; |
| 21 | +- `torch.asarray` function propagates the device of the input array. This works around |
| 22 | + the [pytorch issue #150199](https://github.com/pytorch/pytorch/issues/150199); |
| 23 | +- `torch.repeat` function is now available; |
| 24 | +- `torch.count_nonzero` function now correctly handles the case of a tuple `axis` |
| 25 | + arguments and `keepdims=True`; |
| 26 | +- `torch.meshgrid` wrapper defaults to `indexing="xy"`, in accordance with the |
| 27 | + array API specification; |
| 28 | +- `cupy.asarray` function now implements the `copy=False` argument, albeit |
| 29 | + at the cost of risking to make a temporary copy. |
| 30 | +- In `numpy.take_along_axis` and `cupy.take_along_axis` the `axis` parameter now |
| 31 | + defaults to -1, in accordance to the Array API spec. |
| 32 | + |
| 33 | + |
| 34 | +The following users contributed to this release: |
| 35 | + |
| 36 | +Evgeni Burovski, |
| 37 | +Lucas Colley, |
| 38 | +Neil Girdhar, |
| 39 | +Joren Hammudoglu, |
| 40 | +Guido Imperiale |
| 41 | + |
| 42 | + |
3 | 43 | ## 1.11.2 (2025-03-20)
|
4 | 44 |
|
5 | 45 | This is a bugfix release with no new features compared to version 1.11.
|
|
0 commit comments