CIL
CIL copied to clipboard
numpy 2
- misc
numpy>=2safety (fixes #1915) - test numpy 2.*
- test astra-toolbox 2.*
- bump ccpi-regulariser 25.0.0
- [ ] bump tomophantom
- [ ] bump tigre
- [x] depends on
ccpi-regulariserbuild withnumpy>=2https://github.com/TomographicImaging/CCPi-Regularisation-Toolkit/issues/215
unsure about
- https://github.com/TomographicImaging/CIL/blob/4b038a7b32e43dd5078340c86bba08cdf3b72a01/Wrappers/Python/cil/optimisation/algorithms/FISTA.py#L234
cil.plugins.tigre.Atb- https://github.com/TomographicImaging/CIL/blob/4b038a7b32e43dd5078340c86bba08cdf3b72a01/Wrappers/Python/cil/optimisation/algorithms/PDHG.py#L516
- https://github.com/TomographicImaging/CIL/blob/4b038a7b32e43dd5078340c86bba08cdf3b72a01/Wrappers/Python/cil/optimisation/algorithms/APGD.py#L285
upstream problems
- test
tomophantomwithnumpy>=2 - test
tigrewithnumpy>=2 - test
astra-toolbox=*=cuda*withnumpy>=2 test_CIL_CVXPy->cvxpy->scipy:
test_cil_vs_cvxpy_totalvariation_anisotropic (test_CIL_CVXPy.Test_CIL_vs_CVXPy.test_cil_vs_cvxpy_totalvariation_anisotropic) ...
...
$CONDA_PREFIX/lib/python3.12/site-packages/scipy/sparse/_dia.py:140: UserWarning: result dtype changed due to the removal of value-based promotion from NumPy. Changed from int64 to int32.
nnz += min(M+k,N)
...
$CONDA_PREFIX/lib/python3.12/site-packages/cvxpy/utilities/coeff_extractor.py:296: UserWarning: result dtype changed due to the removal of value-based promotion from NumPy. Changed from int32 to int64.
P.row += offset