We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Something has changed in either u.Quantity and or dask.array that is causing many of the Dask-related time lag tests to fail: https://github.com/sunpy/sunkit-image/actions/runs/13120875872/job/36606273739#step:10:309
u.Quantity
dask.array
The text was updated successfully, but these errors were encountered:
Moving from dask==2024.12.1 to dask==2025.1.0 is what is causing the problem, I think specifically this PR: dask/dask#11611 and these lines: https://github.com/dask/dask/blob/c5524337c7abf5f9c5436736cbc8c081c193e8ab/dask/array/core.py#L215-L218. Quantity must be caught by that conditional and as such multiplication is deferred to Quantity rather Dask, resulting in eager execution.
dask==2024.12.1
dask==2025.1.0
Quantity
Sorry, something went wrong.
With 2024.12.1, the following
2024.12.1
>>> import dask.array >>> import astropy.units as u >>> dask.array.core._should_delegate(dask.array.from_array([1,2,3]),u.s)
returns False, but returns True with 2025.1.0.
False
True
2025.1.0
Successfully merging a pull request may close this issue.
Something has changed in either
u.Quantity
and ordask.array
that is causing many of the Dask-related time lag tests to fail: https://github.com/sunpy/sunkit-image/actions/runs/13120875872/job/36606273739#step:10:309The text was updated successfully, but these errors were encountered: