PyTorch K-Means GPU-friendly
single-file, hierarchical and resampling. I built a small, self-contained K-Means implementation in pure PyTorch: https://gitlab.com/hassonofer/pt_kmeans I was working on dataset sampling and approximate nearest neighbor search, and tried several existing libraries for large-scale K-Means.
Reactions (1)
Similar products
by description similarity
A PyTorch implementation of constrained optimization and modeling techniques
Independent from-scratch implementation of the Kimi K3 architecture (arXiv:2607.24653v1): KDA, NoPE, latent-space MoE, and the systems co-designs. Table 1 reproduced to 0.09%.
BanditPAM C++ implementation and Python package
You like pytorch? You like micrograd? You love tinygrad! ❤️
Cant
github.comLibrary written in Rust that provides PyTorch-like functionality