According to Dongcha Beating monitoring, the University of California, Berkeley, in collaboration with the Massachusetts Institute of Technology, the University of California, Irvine, and the University of Texas at Austin, has released the GPU-accelerated classic ML operator library FlashLib, covering 15 high-level operators. The library aims to provide high-performance acceleration for machine learning workflows and intelligent agent scenarios. Based on Triton and CuteDSL, FlashLib achieved up to 208x peak speedup over NVIDIA cuML 25.10 for operators such as KMeans and KNN on the H200 GPU.
In testing on the H200 GPU, Flash-KMeans reached 61% of peak FLOPs efficiency, while Flash-KNN reached 85.2% of HBM memory bandwidth. Compared to NVIDIA cuML 25.10, FlashLib achieved a 26x speedup in KMeans clustering, a 19x speedup in KNN retrieval, and a 40x speedup in HDBSCAN clustering. For TruncatedSVD decomposition, FlashLib achieved a peak acceleration of up to 208x under specific computing tolerance and algorithm trade-offs. Similarly, for operators such as PCA, exact t-SNE, and MultinomialNB, speedups of 47x, 147x, and 49x were respectively achieved.
As AI enters the era of intelligent agents, classic ML operators have transitioned from offline batch processing to online real-time primitives. In long-chain inference scenarios, such as scientific computing agents, models need to frequently invoke clustering, retrieval, and dimensionality reduction operators, turning traditional offline operators into a system latency bottleneck. FlashLib has introduced a performance prediction API that, without triggering GPU evaluation, can accurately estimate the runtime and memory footprint of workflows in just about 5 microseconds of CPU time, providing low-cost analysis support for task planning and agent decision-making. Currently, FlashLib is open source on GitHub.
