Fix backward compat test (#5195)

Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/5195

try to pin mkl < 2026 just like https://github.com/facebookresearch/faiss/pull/5192

Reviewed By: alibeklfc

Differential Revision: D104291586

fbshipit-source-id: 14acd9e82174185c6615d6b33cd376491c91895c
This commit is contained in:
Michael Norris
2026-05-07 14:47:48 -07:00
committed by meta-codesync[bot]
parent 23cd94cd51
commit f323c0fa11
@@ -52,7 +52,7 @@ jobs:
eval "$(conda shell.bash hook)"
conda create -n faiss_conda_read -y python=3.12
conda activate faiss_conda_read
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.1
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.1 "mkl>=2024.2.2,<2026"
conda list
- name: Run Conda reader (read Faiss index and verify)
@@ -89,7 +89,7 @@ jobs:
eval "$(conda shell.bash hook)"
conda create -n faiss_conda_write -y python=3.12
conda activate faiss_conda_write
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.1
conda install -y -c pytorch -c conda-forge faiss-cpu=1.14.1 "mkl>=2024.2.2,<2026"
conda list
- name: Create shared data directory