hnswlib icon indicating copy to clipboard operation
hnswlib copied to clipboard

set num threads

Open tangchen2 opened this issue 4 years ago • 1 comments

if i didnt't use "set_num_threads", hnsw index would use default threads values which i printed(num_threads) were 96, why the default num_threads were 96? is it set according to the system?

tangchen2 avatar Aug 04 '21 05:08 tangchen2

Yes, it is set to the maximum number of threads. I'll add a note in the readme. Thanks!

yurymalkov avatar Oct 10 '21 05:10 yurymalkov