Skip to content

Commit e9e2852

Browse files
author
Nikos Papailiou
committed
Fix _n_threads
1 parent bd13054 commit e9e2852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apis/python/src/tiledb/vector_search/ingestion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ def update_centroids():
11431143
logger.debug("Assigning vectors to centroids")
11441144
if use_sklearn:
11451145
km = KMeans()
1146-
km.n_threads_ = threads
1146+
km._n_threads = threads
11471147
km.cluster_centers_ = centroids
11481148
assignments = km.predict(vectors)
11491149
else:

0 commit comments

Comments
 (0)