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

Question about HNSW running on GPUs #1611

Closed
Ji-Hoon-0708 opened this issue Jan 9, 2021 · 2 comments
Closed

Question about HNSW running on GPUs #1611

Ji-Hoon-0708 opened this issue Jan 9, 2021 · 2 comments

Comments

@Ji-Hoon-0708
Copy link

Ji-Hoon-0708 commented Jan 9, 2021

Hi, currently I try to run the HNSW on GPUs.

However, from the previous issue (#1348), what I saw is that the HNSW is not implemented on GPU.

So, if what I understand is correct, like the previous issue by adding the (faiss.index_cpu_to_gpu, gpu_index_flat.add, etc), we can run the corresponding index on GPUs but does it work on the same in HNSW? If not, is it possible to run the HNSW on GPUs by using faiss library?

@mdouze
Copy link
Contributor

mdouze commented Jan 11, 2021

HNSW is not implemented on GPU. If you use index_cpu_to_gpu, it will just copy the index to another CPU index (the default behavior for indexes it does not recognize).

@Ji-Hoon-0708
Copy link
Author

I see. Thanks!

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

No branches or pull requests

2 participants