Unverified Commit 88539976 authored by Matthijs Douze's avatar Matthijs Douze Committed by GitHub

set verbose of GpuMultipleClonerOptions to True

parent f82e8a45
...@@ -518,7 +518,7 @@ def compute_populated_index(preproc): ...@@ -518,7 +518,7 @@ def compute_populated_index(preproc):
co.useFloat16CoarseQuantizer = False co.useFloat16CoarseQuantizer = False
co.usePrecomputed = use_precomputed_tables co.usePrecomputed = use_precomputed_tables
co.indicesOptions = faiss.INDICES_CPU co.indicesOptions = faiss.INDICES_CPU
co.verbose = 10 co.verbose = True
co.reserveVecs = max_add if max_add > 0 else xb.shape[0] co.reserveVecs = max_add if max_add > 0 else xb.shape[0]
co.shard = True co.shard = True
...@@ -629,7 +629,7 @@ def get_populated_index(preproc): ...@@ -629,7 +629,7 @@ def get_populated_index(preproc):
co.useFloat16CoarseQuantizer = False co.useFloat16CoarseQuantizer = False
co.usePrecomputed = use_precomputed_tables co.usePrecomputed = use_precomputed_tables
co.indicesOptions = 0 co.indicesOptions = 0
co.verbose = 10 co.verbose = True
co.shard = True # the replicas will be made "manually" co.shard = True # the replicas will be made "manually"
t0 = time.time() t0 = time.time()
print "CPU index contains %d vectors, move to GPU" % indexall.ntotal print "CPU index contains %d vectors, move to GPU" % indexall.ntotal
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment