Skip to content

armgit / LEANN

Public Imported from GitHub
0

[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.

chore: parallel compile fix

Andy Lee6d2149c5035e
diff --git a/packages/leann-backend-diskann/pyproject.toml b/packages/leann-backend-diskann/pyproject.toml
index 7e1b327..f23bf67 100644
--- a/packages/leann-backend-diskann/pyproject.toml
+++ b/packages/leann-backend-diskann/pyproject.toml
@@ -15,4 +15,5 @@ wheel.packages = ["leann_backend_diskann"]
# 使用默认的 redirect 模式
editable.mode = "redirect"
cmake.build-type = "Release"
-build.verbose = true
\ No newline at end of file
+build.verbose = true
+cmake.build-args = ["-j"]
\ No newline at end of file
diff --git a/packages/leann-backend-hnsw/pyproject.toml b/packages/leann-backend-hnsw/pyproject.toml
index 80be880..b68782f 100644
--- a/packages/leann-backend-hnsw/pyproject.toml
+++ b/packages/leann-backend-hnsw/pyproject.toml
@@ -14,4 +14,5 @@ dependencies = ["leann-core==0.1.0", "numpy"]
wheel.packages = ["leann_backend_hnsw"]
editable.mode = "redirect"
cmake.build-type = "Release"
-build.verbose = true
\ No newline at end of file
+build.verbose = true
+cmake.build-args = ["-j"]
\ No newline at end of file