Skip to content

Apache Lucene open-source search software

Fix sandbox workflow/ faiss (#16041)

Dawid Weiss2dee50e21f86
diff --git a/.github/workflows/run-special-checks-sandbox.yml b/.github/workflows/run-special-checks-sandbox.yml
index acda243c01a..fd2585720c7 100644
--- a/.github/workflows/run-special-checks-sandbox.yml
+++ b/.github/workflows/run-special-checks-sandbox.yml
@@ -39,10 +39,19 @@ jobs:
conda-remove-defaults: 'true'
- name: Install Faiss
- run: mamba install faiss-cpu="${FAISS_VERSION}"
+ run: mamba install faiss-cpu="${FAISS_VERSION}" "mkl=2024.*"
env:
FAISS_VERSION: ${{ matrix.faiss-version }}
+ - name: Debug Faiss/MKL libraries
+ run: |
+ echo "=== MKL libs in conda prefix ==="
+ find "$CONDA_PREFIX/lib" -name "libmkl*" | sort
+ echo "=== faiss libs ==="
+ find "$CONDA_PREFIX/lib" -name "libfaiss*" | sort
+ echo "=== ldd on libfaiss_c.so ==="
+ ldd "$CONDA_PREFIX/lib/libfaiss_c.so" || true
+
- name: Checkout Lucene
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with: