Skip to content

Commit

Permalink
chore: lowering max faiss-free documents to avoid OOMs during experim…
Browse files Browse the repository at this point in the history
…ental phase
  • Loading branch information
bclavie committed Mar 21, 2024
1 parent 6ecf66a commit b298a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ragatouille/models/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def build(

# Monkey-patch colbert-ai to avoid using FAISS
monkey_patching = (
len(collection) < 100000 and kwargs.get("use_faiss", False) is False
len(collection) < 75000 and kwargs.get("use_faiss", False) is False
)
if monkey_patching:
print(
Expand Down

0 comments on commit b298a90

Please sign in to comment.