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

fix: tokenization of ArgsKwargsPackedFunction #555

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

pfackeldey
Copy link
Collaborator

Fixes #553.

Now, the token is generated deterministically and thus the dak_cache is hit correctly for multiple repetitive invocations of dak.map_partitions with the same arguments.

Unfortunately I couldn't use __dask_tokenize__ because one needs to repack the args and kwargs correctly.

Not sure how much of a performance gain there is, would be nice to measure it somehow...

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.

wrong token generation with dak.map_partitions
2 participants