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 for hdbscan model serialization #5128

Merged
merged 2 commits into from
Jan 12, 2023

Conversation

cjnolet
Copy link
Member

@cjnolet cjnolet commented Jan 11, 2023

It looks like there are still some attributes with ptr in their name that are being serialized with the hdbscan object and that's causing some segfaults when serialization is performed on a separate process.

Closes #4986

@cjnolet cjnolet added bug Something isn't working non-breaking Non-breaking change labels Jan 11, 2023
@cjnolet cjnolet self-assigned this Jan 11, 2023
@cjnolet cjnolet requested a review from a team as a code owner January 11, 2023 22:16
@github-actions github-actions bot added the Cython / Python Cython or Python issue label Jan 11, 2023
@cjnolet
Copy link
Member Author

cjnolet commented Jan 12, 2023

/merge

@rapids-bot rapids-bot bot merged commit 69db20f into rapidsai:branch-23.02 Jan 12, 2023
jakirkham pushed a commit to jakirkham/cuml that referenced this pull request Feb 27, 2023
It looks like there are still some attributes with `ptr` in their name that are being serialized with the hdbscan object and that's causing some segfaults when serialization is performed on a separate process. 

Closes rapidsai#4986

Authors:
  - Corey J. Nolet (https://github.com/cjnolet)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#5128
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.63%. Comparing base (a28513c) to head (bca208b).
Report is 14995 commits behind head on branch-23.02.

Additional details and impacted files
@@               Coverage Diff                @@
##           branch-23.02    #5128      +/-   ##
================================================
+ Coverage         69.56%   69.63%   +0.06%     
================================================
  Files               192      192              
  Lines             12523    12523              
================================================
+ Hits               8712     8720       +8     
+ Misses             3811     3803       -8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Cython / Python Cython or Python issue non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Persisting HDBScan model with Pickle/joblib and approximate_predict results in core dump
3 participants