"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "ea81a4228d8ff16042c3ccaf61f0e588e60166cd"
[Feature] Add bruteforce implementation for KNN with O(Nk) space complexity (#2892)
* add bruteforce impl * add support for bruteforce-sharemem * modify python API * add tests * change file path * change python API * fix lint * fix test * also check worst_dist in the last few dim * use heap and early-stop on CPU * fix lint * fix lint * add device check * use cuda function to determine max shared mem * use cuda to determine block info * add memory free for tmp var * update doc-string and add dist option * fix lint * add more tests Co-authored-by:Quan (Andy) Gan <coin2028@hotmail.com> Co-authored-by:
Minjie Wang <wmjlyjemaine@gmail.com>
Showing
Please register or sign in to comment