Skip to content

Mark raft symbols with hidden visibility#3133

Closed
robertmaynard wants to merge 1 commit intofacebookresearch:mainfrom
robertmaynard:hide_raft_symbols
Closed

Mark raft symbols with hidden visibility#3133
robertmaynard wants to merge 1 commit intofacebookresearch:mainfrom
robertmaynard:hide_raft_symbols

Conversation

@robertmaynard
Copy link
Contributor

Symbols that are public are de-duplicated across all shared libraries. This can cause issues since raft resources have state that isn't valid across shared library boundaries.

So we mark all the raft symbols as hidden so that we ensure that faiss raft functions call the local ( per .so ) version of the function.

Symbols that are public are de-duplicated across all shared libraries.
This can cause issues since raft resources have state that isn't
valid across shared library boundaries.

So we mark all the raft symbols as hidden so that we ensure that
faiss raft functions call the local ( per .so ) version of the function.
@tarang-jain tarang-jain mentioned this pull request Feb 6, 2024
9 tasks
facebook-github-bot pushed a commit that referenced this pull request Feb 21, 2024
Summary:
Imports changes from #3133 and #3171. So this single PR adds all the changes together.

- [x] Implement RaftIVFPQ class
- [x] Update gtests to test correctness with RAFT enabled
- [x] All googleTests for RAFT enabled IVFPQ pass
- [x] Move some common functions in RaftIVFFlat and RaftIVFPQ to helper: RaftUtils.h
- [x] update Quantizer retroactively after building RAFT index -- both IVFFlat and IVFPQ
- [x] resolve failing LargeBatch (classical GPU)
- [x] add checks for Pascal deprecation
- [x] apply RMM changes from #3171
- [x] apply robertmaynard's changes from #3133

Pull Request resolved: #3044

Reviewed By: junjieqi

Differential Revision: D51074065

Pulled By: algoriddle

fbshipit-source-id: 6871257921bcaff2064a20637e2ed358acbdc363
abhinavdangeti pushed a commit to blevesearch/faiss that referenced this pull request Jul 12, 2024
Summary:
Imports changes from facebookresearch#3133 and facebookresearch#3171. So this single PR adds all the changes together.

- [x] Implement RaftIVFPQ class
- [x] Update gtests to test correctness with RAFT enabled
- [x] All googleTests for RAFT enabled IVFPQ pass
- [x] Move some common functions in RaftIVFFlat and RaftIVFPQ to helper: RaftUtils.h
- [x] update Quantizer retroactively after building RAFT index -- both IVFFlat and IVFPQ
- [x] resolve failing LargeBatch (classical GPU)
- [x] add checks for Pascal deprecation
- [x] apply RMM changes from facebookresearch#3171
- [x] apply robertmaynard's changes from facebookresearch#3133

Pull Request resolved: facebookresearch#3044

Reviewed By: junjieqi

Differential Revision: D51074065

Pulled By: algoriddle

fbshipit-source-id: 6871257921bcaff2064a20637e2ed358acbdc363
samanthawaters8882michaeldonovan added a commit to samanthawaters8882michaeldonovan/faiss that referenced this pull request Oct 12, 2025
Summary:
Imports changes from facebookresearch/faiss#3133 and facebookresearch/faiss#3171. So this single PR adds all the changes together.

- [x] Implement RaftIVFPQ class
- [x] Update gtests to test correctness with RAFT enabled
- [x] All googleTests for RAFT enabled IVFPQ pass
- [x] Move some common functions in RaftIVFFlat and RaftIVFPQ to helper: RaftUtils.h
- [x] update Quantizer retroactively after building RAFT index -- both IVFFlat and IVFPQ
- [x] resolve failing LargeBatch (classical GPU)
- [x] add checks for Pascal deprecation
- [x] apply RMM changes from facebookresearch/faiss#3171
- [x] apply robertmaynard's changes from facebookresearch/faiss#3133

Pull Request resolved: facebookresearch/faiss#3044

Reviewed By: junjieqi

Differential Revision: D51074065

Pulled By: algoriddle

fbshipit-source-id: 6871257921bcaff2064a20637e2ed358acbdc363
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants