You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
**Change was previously reverted because of build failure as change D55577576 removed the definition of FAISS_THROW_IF_MSG**
**Context**
[Issue 3128](facebookresearch#3128) is an enhancement request to support remove_ids for IVFPQFastScan.
Existing mechanism use direct map and iterate over items in selector and use scopecodes and scopeIds to replace item to be removed. Given that codes are packed, it is hard to return single code how it is packed in CodePackerPQ4. Thus, we need a custom implementation to removed_ids.
**In this diff**,
1. We have added custom implementation of remove_ids from BlockInvertedLists which unpack code as it iterate and repack in new position. DirectMap use this remove_id function in BlockInvertedLists for type NoMap in DirectMap.
2. Also, we are throwing exception for other map type in DirectMap i.e. HashTable
Reviewed By: ramilbakhshyiev
Differential Revision: D55858959
0 commit comments