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

Windows Support? #1437

Closed
junha-l opened this issue Oct 2, 2020 · 13 comments
Closed

Windows Support? #1437

junha-l opened this issue Oct 2, 2020 · 13 comments
Labels

Comments

@junha-l
Copy link

junha-l commented Oct 2, 2020

I see the number of PRs are merged to support Faiss on Windows

Is Faiss supported on Windows officially?

@mdouze
Copy link
Contributor

mdouze commented Oct 2, 2020

Yes it is.
We don't have precompiled packages yet, so you'll have to compile it yourself.

@mdouze mdouze added the install label Oct 2, 2020
@h-vetinari
Copy link
Contributor

h-vetinari commented Oct 8, 2020

@mdouze, oooooh that's interesting re: conda-forge/faiss-split-feedstock#2. Is this something that applies to 1.6.3 already, or only to HEAD?

@mdouze
Copy link
Contributor

mdouze commented Oct 9, 2020

We support conda packages for the pytorch channel. The conda-forge channel's packages do not work on windows yet AFAIK

@h-vetinari
Copy link
Contributor

@mdouze
I was simply not aware that things had moved since you opened conda-forge/faiss-split-feedstock#2. There should be no fundamental problem to build for windows on conda-forge as well.

@hcji
Copy link

hcji commented Oct 26, 2020

@mdouze I find there has not been a precompiled package on conda-forge for windows. Is there a guide for how to compile the source code for win?

@beauby
Copy link
Contributor

beauby commented Oct 26, 2020

@hcji There are pre-compiled nightly packages available on the pytorch channel (conda install -c pytorch/label/nightly faiss-cpu).

@hcji
Copy link

hcji commented Oct 27, 2020

@beauby Thank you. But the GPU version is not ready?

@h-vetinari
Copy link
Contributor

Restarted the conda-forge effort for windows under conda-forge/faiss-split-feedstock#17. With the build system changes from 1.6.3->1.6.4, it might still take a while, but should get there eventually.

@mdouze
Copy link
Contributor

mdouze commented Nov 6, 2020

Windows is supported through anaconda now. closing.

@mdouze mdouze closed this as completed Nov 6, 2020
@boluochuile
Copy link

@beauby That is great!

@h-vetinari
Copy link
Contributor

h-vetinari commented Dec 12, 2020

Starting from today, there are now windows packages in conda-forge. Cuda support for windows is hopefully not far away either: conda-forge/faiss-split-feedstock#19.

Edit: this now needs conda-forge/faiss-split-feedstock#32 instead of conda-forge/faiss-split-feedstock#19

@alextaymx
Copy link

May I know the steps to install faiss-gpu using anaconda on windows?

@h-vetinari
Copy link
Contributor

h-vetinari commented Jan 29, 2021

Faiss is not yet available with GPU on windows in conda-forge. It will be available once this PR is merged, but realistically, that will only happen when faiss itself officially supports it - there's ongoing work for this in #1610.

Once that feedstock PR is merged, you will be able to do:

conda install -c conda-forge faiss-gpu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants