TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A GPU-accelerated binary vector index

65 点作者 andes3143 个月前
This is a vector index I built that supports insertion and k-nearest neighbors (k-NN) querying, optimized for GPUs. It operates entirely in CUDA and can process queries on half a billion vectors in under 200 milliseconds. The codebase is structured as a standalone library with an HTTP API for remote access. It’s intended for high-performance search tasks—think similarity search, AI model retrieval, or reinforcement learning replay buffers. The codebase is located at <a href="https:&#x2F;&#x2F;github.com&#x2F;rodlaf&#x2F;BinaryGPUIndex">https:&#x2F;&#x2F;github.com&#x2F;rodlaf&#x2F;BinaryGPUIndex</a>.

3 条评论

kookamamie3 个月前
Does it beat hnswlib? Also, it would be nice to see code examples (C++) without the API.
评论 #43097291 未加载
rytill3 个月前
When and how would one use binary vectors for encoding in ML? Do you have to make your model work natively with binary vectors or is there a translation step between float and binary vectors to make it compatible?
评论 #43101986 未加载
martinloretz3 个月前
Great work. Can you elaborate on how the radix selection works and how to get that working with float&#x27;s and inner product distance? I just quickly checked the code, I&#x27;m not familiar with radix selection, but really interested in making extremely fast GPU indices.
评论 #43097273 未加载