fix: use default threading in Fastembed (#846)
<!-- .github/pull_request_template.md --> ## Description <!-- Provide a clear description of the changes in this PR --> - set the parallel option to None in Fastembed's embedding function ## DCO Affirmation I affirm that all code in every commit of this pull request conforms to the terms of the Topoteretes Developer Certificate of Origin.
This commit is contained in:
parent
5c36a5dd8a
commit
9d9ea63236
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class FastembedEmbeddingEngine(EmbeddingEngine):
|
|||
embeddings = self.embedding_model.embed(
|
||||
text,
|
||||
batch_size=len(text),
|
||||
parallel=0,
|
||||
parallel=None,
|
||||
)
|
||||
|
||||
return list(embeddings)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue