Skip to content

Commit

Permalink
Allow parallel optimizations in Qdrant after uploading (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
timvisee authored Jan 2, 2025
1 parent a0d672c commit a26483b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engine/clients/qdrant/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ def post_upload(cls, _distance):
collection_name=QDRANT_COLLECTION_NAME,
optimizer_config=OptimizersConfigDiff(
# indexing_threshold=10_000,
max_optimization_threads=1,
# Set to a high number to not apply limits, already limited by CPU budget
max_optimization_threads=100_000,
),
)

Expand Down

0 comments on commit a26483b

Please sign in to comment.