Multi-GPU IVF PQ
Multi-GPU IVF PQ
Python module: cuvs.neighbors.mg.ivf_pq
Index
Multi-GPU IVF-PQ index object. Stores the trained multi-GPU IVF-PQ index state which can be used to perform nearest neighbors searches across multiple GPUs.
Members
trained
IndexParams
Parameters to build multi-GPU IVF-PQ index for efficient search. Extends single-GPU IndexParams with multi-GPU specific parameters.
Parameters
Constructor
Members
get_handle
distribution_mode
SearchParams
Parameters to search multi-GPU IVF-PQ index.
Constructor
Members
get_handle
search_mode
Get the search mode for multi-GPU search.
search_mode
Set the search mode for multi-GPU search.
merge_mode
Get the merge mode for multi-GPU search.
merge_mode
Set the merge mode for multi-GPU search.
n_rows_per_batch
Get the number of rows per batch for multi-GPU search.
n_rows_per_batch
Set the number of rows per batch for multi-GPU search.
build
@auto_sync_multi_gpu_resources
Build the multi-GPU IVF-PQ index from the dataset for efficient search.
Parameters
Returns
Examples
extend
@auto_sync_multi_gpu_resources
Extend the multi-GPU IVF-PQ index with new vectors.
Parameters
Examples
search
@auto_sync_multi_gpu_resources
@auto_convert_output
Search the multi-GPU IVF-PQ index for the k-nearest neighbors of each query.
Parameters
Returns
Examples
save
@auto_sync_multi_gpu_resources
Serialize the multi-GPU IVF-PQ index to a file.
Parameters
Examples
load
@auto_sync_multi_gpu_resources
Deserialize the multi-GPU IVF-PQ index from a file.
Parameters
Returns
Examples
distribute
@auto_sync_multi_gpu_resources
Distribute a single-GPU IVF-PQ index across multiple GPUs from a file.
Parameters
Returns
Examples