-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add to pypi #170
Comments
Hi There are no plans that I know of. The process to add a new install method is that a contributor submits a PR and commits to support it when Faiss is updated, then we integrate it. |
Hi, I have set up CPU-only wheel package at PyPI: https://pypi.org/project/faiss-cpu/ It seems other unofficial packages also exist: https://pypi.org/project/faiss/ My packaging scripts are here. |
I've also made a faiss-gpu wheel package available at PyPI:
For anyone wishing to tune the performance, there is a build instruction for source distribution. |
If we could get an official PYPI package (as an alternative to conda) that would be great. Many developers have existing stacks with docker/pipenv/pip so being able to simply pip install faiss officially would be very nice. I dont want to move everything to conda just b/c I want to add faiss module. I have a set up with docker and pipfile and everything is installed into the base python on deployment. I tried also getting conda in the Docker file and installing faiss that way, but it always installs it in a miniconda location. I want it to be in /usr/local/lib/python3.6/site-packages/. Not in some mini conda location. I also tried copying files from the miniconda location to the /usr/local/lib/python3.6/site-packages/ location but got some Alternatively, if someone could provide instructions on downloading faiss from official conda but then getting into the base python /usr/local/lib/python3.6/site-packages/, that would be welcomed too. |
Is there any particular reason you don't want to use the unofficial build? We've been using it for quite some time now without any issues. |
@OlegSmelov , yes I have been using the unofficial build for quite some time and it’s great. If the unofficial one keeps being supported then great. I was just thinking more long term and as updates come out etc. |
At Facebook we do not plan to support pypi. Managing the conda packages for a variety of OS/python version/Cuda versions is already a signifiant workload. However we encourage unofficial ports. |
Completely understand. Thanks for the responses. I need to learn more about packaging. |
hi,
could you pls help me ? |
same error waitting for help ! |
That's simply due to the fact faiss is not supported on windows, try on linux or mac |
Are there any plans to add this project to pypi so others may install it and use it via python with ease?
Willing to help with this.
The text was updated successfully, but these errors were encountered: