You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@harrism , this utility function is used to extract the support vectors and pass them back to the python world. The reason for the plain allocation is that here - just like for the dense counterpart - we don't know the dimensions in advance and therefore cannot allocate the stores from python in advance. The allocations are not really leaking as long as the new owner takes care of destruction.
AFAIK there are no data-owning containers exposed to python that would allow to be resized later on (please correct me if I am wrong or that changed). We would need something like a device_buffer representation on python side for this. If the allocation needs to be removed I would appreciate guidance on how this should be accomplished.
Describe the bug
There are allocations with no matching deallocation in svm/sparse_util.cuh.
cuml/cpp/src/svm/sparse_util.cuh
Lines 766 to 778 in 973a65f
Steps/Code to reproduce bug
Inspect the linked code.
Expected behavior
See #5852. There should be no raw calls to resource::allocate(). Instead, use device containers like
device_buffer
.The text was updated successfully, but these errors were encountered: