-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
make integration_tests fails currently #104
Comments
The fix for this is trivial. It involves changing this import line to this: from langchain.vectorstores.faiss import FAISS However, doing this surfaces another test failure:
I was able to reproduce this behavior in iPython. As of now, I cannot instantiate Python 3.9.12 (main, Apr 5 2022, 01:53:17)
Type 'copyright', 'credits' or 'license' for more information
IPython 8.2.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: from langchain.embeddings.huggingface import HuggingFaceEmbeddings
In [2]: embedding = HuggingFaceEmbeddings()
Downloading: 100%|██████████████████████████| 1.18k/1.18k [00:00<00:00, 436kB/s]
Downloading: 100%|██████████████████████████████| 190/190 [00:00<00:00, 299kB/s]
Downloading: 100%|█████████████████████████| 10.6k/10.6k [00:00<00:00, 4.76MB/s]
Downloading: 100%|██████████████████████████████| 571/571 [00:00<00:00, 199kB/s]
Downloading: 100%|█████████████████████████████| 116/116 [00:00<00:00, 42.8kB/s]
Downloading: 100%|█████████████████████████| 39.3k/39.3k [00:00<00:00, 2.52MB/s]
Downloading: 100%|███████████████████████████| 438M/438M [00:05<00:00, 82.1MB/s]
Downloading: 100%|███████████████████████████| 53.0/53.0 [00:00<00:00, 64.9kB/s]
Downloading: 100%|██████████████████████████████| 239/239 [00:00<00:00, 118kB/s]
Downloading: 100%|███████████████████████████| 466k/466k [00:00<00:00, 6.64MB/s]
Downloading: 100%|██████████████████████████████| 363/363 [00:00<00:00, 133kB/s]
Downloading: 100%|█████████████████████████| 13.1k/13.1k [00:00<00:00, 4.14MB/s]
Downloading: 100%|███████████████████████████| 232k/232k [00:00<00:00, 3.46MB/s]
Downloading: 100%|██████████████████████████████| 349/349 [00:00<00:00, 171kB/s]
[1] 76242 segmentation fault ipython
/Users/delip/opt/anaconda3/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d ' |
output from
|
This fixes Issue #104 The tests for HF Embeddings is skipped because of the segfault issue mentioned there. Perhaps, a new issue should be created for that?
not 100% sure why this segfaults for you... works for me locally. gonna close this issue (since landed your pr) but open a different one to look into the segfault and fix the skip |
The text was updated successfully, but these errors were encountered: