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

Revert pickle change #8456

Merged
merged 3 commits into from Jan 12, 2024
Merged

Revert pickle change #8456

merged 3 commits into from Jan 12, 2024

Conversation

fjetter
Copy link
Member

@fjetter fjetter commented Jan 12, 2024

This pickle implementation is odd (see #8455) so I chose to revert #8443 to close #8454 instead of trying to fix it.

This should be revisited. The current logic is pretty awful since it can trigger serialization up to three times until it reaches success. For very large graphs this can be a problem.

I'm not sure what best to do here in the long run but considering this is not a major problem right now, I'm inclined to postpone this decision until later.

Copy link
Member

@hendrikmakait hendrikmakait left a comment

Choose a reason for hiding this comment

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

LGTM assuming CI ends up green.



@pytest.mark.slow()
def test_pickle_functions_in_main(tmp_path):
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for adding this!

@fjetter
Copy link
Member Author

fjetter commented Jan 12, 2024

distributed/protocol/tests/test_pickle.py::test_pickle_functions_in_main - AssertionError: assert 'success' in ['success\r', '']

I hate windows

Copy link
Contributor

Unit Test Results

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

    27 files  ± 0      27 suites  ±0   9h 40m 22s ⏱️ + 10m 35s
 3 960 tests + 3   3 849 ✅ + 2    109 💤 ±0  2 ❌ +1 
49 809 runs  +53  47 518 ✅ +59  2 289 💤  - 7  2 ❌ +1 

For more details on these failures, see this check.

Results for commit 30b0030. ± Comparison against base commit 9fb41e3.

@hendrikmakait hendrikmakait merged commit c3aa960 into dask:main Jan 12, 2024
30 of 34 checks passed
@rjzamora
Copy link
Member

Thanks @fjetter and @hendrikmakait !

@fjetter fjetter deleted the revert_pickle_change branch January 12, 2024 15:54
vyasr added a commit to rapidsai/rapids-dask-dependency that referenced this pull request Jan 12, 2024
This reverts commit 4a2dd6f.

The upstream distributed bug was fixed in
dask/distributed#8456.
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.

Failing to deserialize user function
3 participants