From 8c8964c290b77ef829e9d201b78ff9d265847ede Mon Sep 17 00:00:00 2001 From: divyegala Date: Thu, 6 Feb 2025 15:07:39 -0800 Subject: [PATCH] pass arg along --- faiss/gpu/impl/CuvsCagra.cu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/faiss/gpu/impl/CuvsCagra.cu b/faiss/gpu/impl/CuvsCagra.cu index 82e3007d59..f60e1e3ab5 100644 --- a/faiss/gpu/impl/CuvsCagra.cu +++ b/faiss/gpu/impl/CuvsCagra.cu @@ -69,6 +69,7 @@ CuvsCagra::CuvsCagra( index_params_.intermediate_graph_degree = intermediate_graph_degree; index_params_.graph_degree = graph_degree; + index_params_.attach_dataset_on_build = store_dataset; if (!ivf_pq_search_params_) { ivf_pq_search_params_ = @@ -243,6 +244,7 @@ void CuvsCagra::search( storage_, n_, dim_); cuvs_index->update_dataset(raft_handle, dataset); } + store_dataset_ = true; } auto queries_view = raft::make_device_matrix_view(