Skip to content

Commit

Permalink
fix non_tensor_fields bug in parallel calls
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeadie committed Nov 9, 2022
1 parent 129fc52 commit 2b0091f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marqo/tensor_search/parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def add_documents_mp(config=None, index_name=None, docs=None,
start = time.time()

chunkers = [IndexChunk(
config=config, index_name=index_name, docs=_docs,
config=config, index_name=index_name, docs=_docs, non_tensor_fields=non_tensor_fields,
auto_refresh=auto_refresh, batch_size=batch_size, update_mode=update_mode,
process_id=p_id, device=device_ids[p_id], threads_per_process=threads_per_process)
for p_id,_docs in enumerate(np.array_split(docs, n_processes))]
Expand Down

0 comments on commit 2b0091f

Please sign in to comment.