Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix None cache dir in parallel mode #277

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

joein
Copy link
Member

@joein joein commented Jun 14, 2024

We used to have 'None' in cache path when we were initializing embeddings with cache_dir=None and using embed with parallel != None.
It was caused because we did not save the determined cache_dir in self, and we were passing str(self.cache_dir) to _embed_documents.

@joein joein merged commit e1ecfe9 into main Jun 14, 2024
17 checks passed
@joein joein deleted the fix-cache-dir-parallel branch June 14, 2024 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants