We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If Faiss is imported after Torch, training in Faiss segfaults.
This can be reproduced using the example k-means clustering code in the Wiki.
OS: Big Sur version 11.6
Faiss version: 1.7.4 stable
Installed from: conda and brew
conda install faiss-cpu
Faiss compilation options:
Running on:
Interface:
d = 128 # dimension nb = 100000 # database size nq = 10000 # nb of queries np.random.seed(1234) # make reproducible x = np.random.random((nb, d)).astype('float32') ncentroids = 1024 niter = 20 verbose = True d = x.shape[1] kmeans = faiss.Kmeans(d, ncentroids, niter=niter, verbose=verbose) kmeans.train(x)
The text was updated successfully, but these errors were encountered:
please install via conda only
Sorry, something went wrong.
I did and I also installed it from source. I think the issue is with MKL and OpenMP conflicts between the Faiss installation and Torch.
The workaround works for now.
No branches or pull requests
If Faiss is imported after Torch, training in Faiss segfaults.
This can be reproduced using the example k-means clustering code in the Wiki.
Platform
OS: Big Sur version 11.6
Faiss version: 1.7.4 stable
Installed from: conda and brew
Faiss compilation options:
Running on:
Interface:
Reproduction instructions
The text was updated successfully, but these errors were encountered: