Open dzenilee opened 1 year ago
This precise configuration is not supported. You can say how many gpus you want with gpu=3 though. Refer to https://github.com/facebookresearch/faiss/blob/main/faiss/python/extra_wrappers.py#L456
It seems could configure the CUDA_VISIBLE_DEVICES environment variable at CUDA level, this will configure CUDA only to see those devices.
Summary
Currently, this is what it says in the README:
So we can do something like:
But can we have the option to choose WHICH gpu(s) to use instead of specifying the number of gpus to use (or to use all gpus)?
faiss.index_cpu_to_gpu
is only for a Faiss index, right?Platform
OS:
Faiss version:
Installed from:
Faiss compilation options:
Running on:
Interface:
Reproduction instructions