Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use any_device_resource binding in UMAP
  • Loading branch information
bdice committed Oct 9, 2026
commit ae3887ae6af20ef6051f7cc3808949ba51d2a2ff
4 changes: 2 additions & 2 deletions python/cuml/cuml/manifold/umap/umap.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ from libcpp.memory cimport unique_ptr
from libcpp.utility cimport move
from pylibraft.common.handle cimport handle_t
from rmm.librmm.device_buffer cimport device_buffer
from rmm.librmm.memory_resource cimport any_resource, device_accessible
from rmm.librmm.memory_resource cimport any_device_resource
from rmm.pylibrmm.device_buffer cimport DeviceBuffer
from rmm.pylibrmm.memory_resource cimport get_current_device_resource

Expand Down Expand Up @@ -1347,7 +1347,7 @@ class UMAP(
),
<size_t> init.nbytes,
handle_.get_stream(),
any_resource[device_accessible](
any_device_resource(
get_current_device_resource().get_mr()
)
)
Expand Down
Loading