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.

fix: use manylinux2014 for better Linux compatibility

Andy Leea6aec68f3214
diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml
index c2e7958..0d6539e 100644
--- a/.github/workflows/build-reusable.yml
+++ b/.github/workflows/build-reusable.yml
@@ -112,19 +112,19 @@ jobs:
- name: Repair wheels (Linux)
if: runner.os == 'Linux'
run: |
- # Repair HNSW wheel
+ # Repair HNSW wheel - use manylinux2014 for better compatibility
cd packages/leann-backend-hnsw
if [ -d dist ]; then
- auditwheel repair dist/*.whl -w dist_repaired
+ auditwheel repair dist/*.whl -w dist_repaired --plat manylinux2014_x86_64
rm -rf dist
mv dist_repaired dist
fi
cd ../..
- # Repair DiskANN wheel
+ # Repair DiskANN wheel - use manylinux2014 for better compatibility
cd packages/leann-backend-diskann
if [ -d dist ]; then
- auditwheel repair dist/*.whl -w dist_repaired
+ auditwheel repair dist/*.whl -w dist_repaired --plat manylinux2014_x86_64
rm -rf dist
mv dist_repaired dist
fi