Skip to content

Commit

Permalink
Bug fix for retrieve from faiss by prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchtr committed Mar 27, 2024
1 parent 2743dbe commit 70ccc66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def setup(self) -> Client:
# We need at least 8Gb RAM for the datacomp small faiss index
# We should consider calculating the memory required for the index based on the faiss
# index size
cores_to_utilise = total_memory // 8
cores_to_utilise = int(total_memory // 8)
cluster = LocalCluster(
processes=True,
n_workers=cores_to_utilise,
Expand Down

0 comments on commit 70ccc66

Please sign in to comment.