Skip to content

Commit

Permalink
Merge branch 'main' into bugfix/empty-partitions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchtr authored Apr 3, 2024
2 parents 5af2143 + 2464ef0 commit 74f4ea4
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 74f4ea4

Please sign in to comment.