mirror of
https://github.com/facebookresearch/faiss.git
synced 2026-10-12 02:13:36 +00:00
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/5713 Two Local Search Quantizer tests are numerically flaky under ARM NEON FMA ordering: - `TestComponents_ARM_NEON.test_update_codebooks_with_double`: `err_double` can exceed `err_float` on ARM even though it is better on x86. - `TestProductLocalSearchQuantizer.test_lut`: `compute_LUT` rounds differently on NEON; max relative diff reaches ~1.7e-3, above the x86-tuned `rtol=5e-4`. D121930308 already skips both via `pytest -k` on `osx and arm64`. This widens the conda selectors to `arm64` so linux-aarch64 nightly builds skip them too: - `pytest` test requirement and the `pytest -k` command: `[osx and arm64]` -> `[arm64]` - `unittest` `test_*` command: `[not (osx and arm64)]` -> `[not arm64]` The root fix (platform guards / looser `rtol` in the test files) is still pending. Reviewed By: mnorris11 Differential Revision: D122238335 fbshipit-source-id: c18fa2ecec29602e758bc20e2bc0dfc3e5d207d0