Skip to content

Commit ff1d8e1

Browse files
divyegalaabhinavdangeti
authored andcommitted
RAFT 24.04 API changes (facebookresearch#3282)
Summary: Pull Request resolved: facebookresearch#3282 Reviewed By: junjieqi Differential Revision: D55153617 Pulled By: algoriddle fbshipit-source-id: 7b1ab24a6b0fbe002a0d8358078d014b1556044a
1 parent 66c5fa3 commit ff1d8e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

faiss/gpu/impl/RaftIVFFlat.cu

+2-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,8 @@ void RaftIVFFlat::copyInvertedListsFrom(const InvertedLists* ivf) {
403403
}
404404

405405
// Update the pointers and the sizes
406-
raft_knn_index.value().recompute_internal_state(raft_handle);
406+
raft::neighbors::ivf_flat::helpers::recompute_internal_state(
407+
raft_handle, &(raft_knn_index.value()));
407408

408409
for (size_t i = 0; i < nlist; ++i) {
409410
size_t listSize = ivf->list_size(i);

0 commit comments

Comments
 (0)