Skip to content

Implement deterministic dask tokenization. - #320

Merged
hameerabbasi merged 4 commits into
pydata:masterfrom
danielballan:dask-tokenize
Feb 6, 2020
Merged

Implement deterministic dask tokenization.#320
hameerabbasi merged 4 commits into
pydata:masterfrom
danielballan:dask-tokenize

Conversation

@danielballan

Copy link
Copy Markdown
Contributor

Closes #300

Credit to @crusaderky for suggesting this implementation in that issue.
Here, I add a test. I have verified that it fails as expected before the change
in 136bc85 is introduced.

Comment thread requirements/tests.txt Outdated
@@ -1,3 +1,4 @@
dask

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

dask[array] I believe?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think we are using anything from dask.array. The only imports are from dask.base.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Oops, I was completely wrong about that. Indeed, dask[array] is what we needed. Pushed new commit. :-D

@codecov

codecov Bot commented Feb 6, 2020

Copy link
Copy Markdown

Codecov Report

Merging #320 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
+ Coverage   93.96%   93.97%   +<.01%     
==========================================
  Files          19       19              
  Lines        2319     2322       +3     
==========================================
+ Hits         2179     2182       +3     
  Misses        140      140

@hameerabbasi
hameerabbasi merged commit c7b40a5 into pydata:master Feb 6, 2020
@hameerabbasi

Copy link
Copy Markdown
Collaborator

Thanks, @danielballan

@danielballan
danielballan deleted the dask-tokenize branch February 6, 2020 21:58
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.

dask deterministic hashing

2 participants