A Rust port of LEANN! #261
starpit
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there. We have some interest in having a Rust core to LEANN. We hope you will too, as Rust is awesome. I see also #14 which might benefit here as well.
https://github.com/starpit/LEANN/tree/feat/rust/leann-rs
This is a 100% Rust port, including of the HNSW algorithm,. This includes a Rust CLI. There are a few remaining TODOs (e.g. DiskAnn), but I figured this was a good starting point. There is a leann-python crate, which has python bindings, with tests to cover the API compatibility. We could offer wasm bindings, etc. Lots of possibilities.
Compliance
Performance
I have done some performance benchmarking: Benchmark Results. In summary:
Beta Was this translation helpful? Give feedback.
All reactions