logoalt Hacker News

wood_spirittoday at 11:28 AM2 repliesview on HN

Does this have corresponding speed ups or memory gains for normal CPUs too? Just thinking about all the cups of coffee that have been made and drunk while scikit-learn kmeans chugs through a notebook :)


Replies

snovv_crashtoday at 11:57 AM

For CPU with bigger K you would put the centroids in a search tree, so take advantage of the sparsity, while a GPU would calculate the full NxK distance matrix. So from my understanding the bottleneck they are fixing doesn't show up on CPU.

show 1 reply
openclaw01today at 12:49 PM

[dead]