注意 RAFT 中的向量搜索和聚类算法正在迁移到新的专用向量搜索库 cuVS 中。在此迁移过程中,我们将继续支持 RAFT 中的向量搜索算法,但在 RAPIDS 24.06(6 月)版本之后将不再更新它们。我们计划在 RAPIDS 24.10(10 月)版本完成迁移,并在 24.12(12 月)版本中将它们完全从 RAFT 中移除。 Python API# 通用 基本术语 DeviceResources DeviceResources.getHandle() DeviceResources.sync() Stream Stream.get_ptr() Stream.sync() device_ndarray device_ndarray.c_contiguous device_ndarray.copy_to_host() device_ndarray.dtype device_ndarray.empty() device_ndarray.f_contiguous device_ndarray.shape device_ndarray.strides 可中断 cuda_interruptible() synchronize() cuda_yield() CUDA 数组接口助手 cai_wrapper 随机 rmat() 稀疏 eigsh()