Skip to content

Commit

Permalink
Merge pull request marqo-ai#166 from marqo-ai/157-enhancement-non-vec…
Browse files Browse the repository at this point in the history
…torised-fields

[BUG] Fix non_tensor_fields bug in parallel calls
  • Loading branch information
pandu-k authored Nov 9, 2022
2 parents a35ca82 + 2b0091f commit 8d76f0b
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 8d76f0b

Please sign in to comment.