Faiss CPU indices are thread-safe for concurrent searches, and other operations that do not change the index. A multithreaded use of functions that change the index needs to implement mutual exclusion ...
Reproduction 使用tp=2 运行,出现报错:Loading checkpoint shards: 100%| | 4/4 [00:36<00:00, 8.12s/it] Loading checkpoint shards: 100%| | 4/4 [00:36<00:00, 9.05s/it] [32m [repeated 7x across cluster] [0m [36m ...