TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A GPU-accelerated binary vector index

65 pointsby andes3144 months ago
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 comments

kookamamie4 months ago
Does it beat hnswlib? Also, it would be nice to see code examples (C++) without the API.
评论 #43097291 未加载
rytill4 months ago
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 未加载
martinloretz4 months ago
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 未加载