[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.
Python aifaissgpt-osslangchainllama-indexllmlocalstorageoffline-firstollamaprivacypythonragretrieval-augmented-generationvector-databasevector-searchvectors
chore: mark diskann as optional
Andy Leee60fad8c73aa
diff --git a/README.md b/README.mdindex 1acc470..4c138b1 100755--- a/README.md+++ b/README.md@@ -49,13 +49,23 @@ git submodule update --init --recursivebrew install llvm libomp boost protobufexport CC=$(brew --prefix llvm)/bin/clangexport CXX=$(brew --prefix llvm)/bin/clang++++# Install with HNSW backend (default, recommended for most users)uv sync++# Or add DiskANN backend if you want to test more options+uv sync --extra diskann```**Linux (Ubuntu/Debian):**```bashsudo apt-get install libomp-dev libboost-all-dev protobuf-compiler libabsl-dev libmkl-full-dev libaio-dev++# Install with HNSW backend (default, recommended for most users)uv sync++# Or add DiskANN backend if you want to test more options+uv sync --extra diskann```**Ollama Setup (Optional for Local LLM):**diff --git a/pyproject.toml b/pyproject.tomlindex 9cd0db9..3a0c027 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -9,7 +9,6 @@ requires-python = ">=3.10"dependencies = ["leann-core",- "leann-backend-diskann","leann-backend-hnsw","numpy>=1.26.0","torch",@@ -48,6 +47,10 @@ dev = ["huggingface-hub>=0.20.0",]+diskann = [+ "leann-backend-diskann",+]+[tool.setuptools]py-modules = []