instant-distance
Fast approximate nearest neighbor searching in Rust, based on HNSW index (by instant-labs)
hora
🚀 efficient approximate nearest neighbor search algorithm collections library written in Rust 🦀 . (by hora-search)
instant-distance | hora | |
---|---|---|
7 | 9 | |
281 | 2,558 | |
0.4% | 0.5% | |
5.6 | 0.0 | |
about 1 month ago | 3 months ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
instant-distance
Posts with mentions or reviews of instant-distance.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-03-14.
- Show HN: A fast HNSW implementation in Rust
-
Hierarchical Navigable Small Worlds
https://github.com/instant-labs/instant-distance is a compact, fairly readable, pretty fast implementation of the paper in Rust.
-
Building a Vector Database with Rust to Make Use of Vector Embeddings
When I looked at it the Rust-CV HNSW implementation was pretty messy, and it looks like it hasn't seen any commits in 2 years. This is partly why we started instant-distance as an alternative, which I think has come out pretty well (for the particular use cases that it serves).
-
DiskANN Pure Rust Implementation Interest
I believe u/dochtman's implementation of HNSW is about as good as HNSW is going to get. Competing with the scalability and features (like streamed updates) of FAISS is what I hope to accomplish with this project. Based on interest, I'm now leaning towards an MIT license for the implementation.
- Approaches to looking up data in 2d space
-
Hierarchical Navigable Small Worlds (HNSW)
I wrote an HNSW implementation in pure Rust:
https://github.com/InstantDomain/instant-distance
It works pretty well for us at InstantDomainSearch.
I like to think that this is a fairly idiomatic Rust implementation so it might be easier to follow than Facebook's FAISS. It's kinda similar in design to FAISS, so I think it might achieve similar performance, though we haven't spent enough time benchmarking yet.
-
Using Aligned Word Vectors for Instant Translations with Python and Rust
We've released the underlying Rust implementation here: https://github.com/InstantDomain/instant-distance with Python bindings at https://pypi.org/project/instant-distance — feedback welcome!
hora
Posts with mentions or reviews of hora.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-01.
-
Building a Vector Database with Rust to Make Use of Vector Embeddings
We have been playing around with Hora as a replacement for the Rust-CV implementation as we want PQ as well. I'll check out instanct-distance, looks very interesting!
-
Faiss: A library for efficient similarity search
Maybe https://github.com/hora-search/hora but I've never used it
- An efficient library for nearest neighbor search in native rust
-
Hora, an blazingly fast AI Similarity search algorithm library (IOS Version)
$ rustup target add aarch64-apple-ios aarch64-apple-ios $ cargo install cargo-lipo $ git clone https://github.com/hora-search/hora-ios $ cd hora-ios/hora $ cargo lipo --release
- Hora: Efficient approximate nearest neighbor search algorithms in Rust
- [Project] Announcing Hora 0.1.1, an blazingly fast AI Similarity search algorithm library
- [Project] Announcing Hora 0.1.0, an blazingly fast approximate nearest neighbor search algorithm library
-
Announcing Hora 0.1.0, an approximate nearest neighbor search algorithm library in rust
github: https://github.com/hora-search/hora
What are some alternatives?
When comparing instant-distance and hora you can also consider the following projects:
hnswlib - Header-only C++/python library for fast approximate nearest neighbors
vald - Vald. A Highly Scalable Distributed Vector Search Engine