Skip to content
New issue

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

Store histref in a partial function for propagation through graph. #157

Merged
merged 8 commits into from
Dec 19, 2024

Conversation

douglasdavis
Copy link
Collaborator

@douglasdavis douglasdavis commented Dec 18, 2024

Second try at fixing #155

Only lift the histref into the partial and avoid hiding sample and weights in the function object when then they are also dask collections.

@douglasdavis douglasdavis requested a review from lgray December 18, 2024 15:37
@lgray
Copy link
Collaborator

lgray commented Dec 18, 2024

@veprbl could you give this PR a try before we make a release, to check if it covers all the cases you encounter?

Copy link
Contributor

@veprbl veprbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works here.

src/dask_histogram/core.py Outdated Show resolved Hide resolved
Co-authored-by: Dmitry Kalinkin <[email protected]>
@douglasdavis douglasdavis merged commit f7d236e into main Dec 19, 2024
19 checks passed
@douglasdavis douglasdavis deleted the fix-155-2 branch December 19, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants