-
Notifications
You must be signed in to change notification settings - Fork 19
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
base: main
Are you sure you want to change the base?
fix: tokenization of ArgsKwargsPackedFunction #555
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #555 +/- ##
==========================================
- Coverage 93.06% 92.49% -0.58%
==========================================
Files 23 22 -1
Lines 3290 3439 +149
==========================================
+ Hits 3062 3181 +119
- Misses 228 258 +30 ☔ View full report in Codecov by Sentry. |
@lgray do you want to add something else here? I would add a test tomorrow, and then the PR is ready from my side 👍 |
This one is ready from my side @martindurant and @lgray 👍 |
@pfackeldey with #558 you'll need to |
+1 |
i.e. you'll have to pass a |
I hope this is now correct @lgray and @martindurant edit: I don't know what the failing test is about, but I don't think it's related to my changes? I'm confused... |
Actually @martindurant I'm going to revert that change. Dealing with all the cases is worse than the string manipulation. |
Sorry :| |
that one test is weirdly flakey... |
Fixes #553.
Now, the token is generated deterministically and thus the
dak_cache
is hit correctly for multiple repetitive invocations ofdak.map_partitions
with the same arguments.Unfortunately I couldn't use
__dask_tokenize__
because one needs to repack theargs
andkwargs
correctly.Not sure how much of a performance gain there is, would be nice to measure it somehow...