Skip to content

Conversation

@jakirkham
Copy link
Member

Builds off of PR ( dask/dask#9087 )

This function was refactored out in Dask and still has the same functionality. While initialize_worker_process does work, it does a bit more than is needed (taking a UDF to initialize too). So just use default_initializer.

Also there is no need to handle old Dask versions here since we now pin Dask & Distributed to the exact same version. So drop the fallback code.


  • Tests added / passed
  • Passes pre-commit run --all-files

This function was refactored out in Dask and still has the same
functionality. While `initialize_worker_process` does work, it does a
bit more than is needed (taking a UDF to initialize too). So just use
`default_initializer`.

Also there is no need to handle old Dask versions here since we now pin
Dask & Distributed to the exact same version. So drop the fallback code.
@jakirkham jakirkham force-pushed the use_default_initializer branch from 15b7b60 to 44fff8d Compare June 8, 2022 20:25
@jakirkham jakirkham requested a review from jrbourbeau June 8, 2022 20:29
@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2022

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       15 files  ±0         15 suites  ±0   6h 29m 41s ⏱️ + 12m 15s
  2 853 tests ±0    2 771 ✔️ ±0    82 💤 +1  0  - 1 
21 137 runs  ±0  20 191 ✔️ ±0  946 💤 +1  0  - 1 

Results for commit 44fff8d. ± Comparison against base commit 9e4e3ab.

♻️ This comment has been updated with latest results.

@jakirkham
Copy link
Member Author

Planning on merging EOD if no comments

@jakirkham jakirkham merged commit b119eb9 into dask:main Jun 10, 2022
@jakirkham jakirkham deleted the use_default_initializer branch June 10, 2022 00:00
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.

1 participant