15 #include "../AutoTune.h"
17 #include "GpuIndicesOptions.h"
19 namespace faiss {
namespace gpu {
61 std::vector<GpuResources*> & resources,
62 std::vector<int> &devices,
76 double val)
const override;
bool shard
shard rather than copying to each GPU
void initialize(const faiss::Index *index) override
initialize with reasonable parameters for the index
set some options on how to copy to GPU
bool usePrecomputed
use precomputed tables?
void set_index_parameter(faiss::Index *index, const std::string &name, double val) const override
set a combination of parameters on an index
parameter space and setters for GPU indexes
IndicesOptions indicesOptions
how should indices be stored on GpuIndexIVFPQ?
bool useFloat16CoarseQuantizer
is the coarse quantizer in float16?
long reserveVecs
reserve vectors in the invfiles?