From a26483bbd90e37c0775591e2b265ace464fb3f12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Vis=C3=A9e?= Date: Thu, 2 Jan 2025 19:30:49 +0100 Subject: [PATCH] Allow parallel optimizations in Qdrant after uploading (#208) --- engine/clients/qdrant/upload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/clients/qdrant/upload.py b/engine/clients/qdrant/upload.py index a5c2dbbe..d6f19c2b 100644 --- a/engine/clients/qdrant/upload.py +++ b/engine/clients/qdrant/upload.py @@ -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, ), )