Weixiang Hong
f46050eb56
Deflake test_io TestIVFPQRead.test_reader ( #5718 )
...
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/5718
`test_reader` searches one IVFPQ index loaded twice, with and without the precomputed table, and required the neighbor ids to be identical. The two paths add the distance terms in a different order, so near-tied neighbors can swap. With unseeded data it failed in 7 of 400 random draws, and once in seven runs of the Cogwheel faiss suite on T1_BGM (2 of 10000 ids).
Compare with `check_ref_knn_with_draws`, which allows swaps only among tied distances, and seed the data so a failure reproduces. `test_io` moves to `py_tests_with_contrib` for the helper.
Reviewed By: mnorris11
Differential Revision: D124383290
fbshipit-source-id: ceb81262ffaba81ac23e5a592e1658741192060d
2026-10-09 16:25:26 -07:00
..
2026-07-10 17:33:47 -07:00
2026-09-14 13:13:11 -07:00
2026-06-29 15:07:10 -07:00
2026-10-06 14:45:14 -07:00
2026-09-10 09:32:36 -07:00
2024-10-23 07:34:38 -07:00
2026-03-14 15:12:14 -07:00
2026-07-13 11:09:13 -07:00
2026-02-04 00:03:15 -08:00
2025-10-14 16:47:57 -07:00
2024-10-22 09:46:48 -07:00
2026-04-14 23:35:31 -07:00
2026-06-29 17:29:05 -07:00
2026-06-29 17:29:05 -07:00
2026-09-10 09:32:36 -07:00
2026-06-29 17:29:05 -07:00
2026-07-15 17:47:15 -07:00
2026-06-29 17:29:05 -07:00
2026-01-05 15:00:20 -08:00
2026-06-29 17:29:05 -07:00
2026-06-29 17:29:05 -07:00
2026-07-17 10:20:42 -07:00
2026-03-20 10:21:55 -07:00
2026-06-29 17:29:05 -07:00
2026-09-04 11:14:06 -07:00
2025-07-25 02:37:10 -07:00
2026-03-20 10:21:55 -07:00
2026-09-08 08:53:40 -07:00
2026-03-20 10:21:55 -07:00
2026-03-20 10:21:55 -07:00
2026-10-02 18:24:52 -07:00
2026-08-25 10:20:33 -07:00
2024-10-22 09:46:48 -07:00
2026-09-04 04:34:19 -07:00
2026-06-29 17:29:05 -07:00
2026-07-14 12:27:43 -07:00
2026-06-29 17:29:05 -07:00
2026-02-20 19:39:13 -08:00
2026-07-15 08:50:29 -07:00
2026-10-08 22:43:31 -07:00
2026-03-18 14:05:55 -07:00
2026-06-29 17:29:05 -07:00
2026-04-23 13:31:11 -07:00
2026-06-30 10:17:47 -07:00
2026-09-26 21:59:14 -07:00
2026-06-29 17:29:05 -07:00
2026-08-19 10:15:02 -07:00
2026-05-28 13:28:59 -07:00
2026-07-17 10:20:42 -07:00
2026-09-26 21:59:14 -07:00
2026-10-01 10:36:44 -07:00
2026-09-10 09:32:36 -07:00
2026-09-01 10:47:31 -07:00
2026-08-04 11:03:23 -07:00
2026-09-08 14:08:01 -07:00
2026-08-25 07:56:20 -07:00
2026-02-12 21:09:31 -08:00
2026-10-09 16:25:26 -07:00
2026-07-06 08:54:27 -07:00
2026-08-03 10:53:18 -07:00
2026-10-02 22:30:24 -07:00
2026-07-31 20:58:26 -07:00
2026-09-18 20:24:54 -07:00
2026-06-29 17:29:05 -07:00
2024-11-15 13:53:46 -08:00
2026-09-15 17:32:23 -07:00
2026-06-29 17:29:05 -07:00
2026-03-20 10:21:55 -07:00
2026-06-29 17:29:05 -07:00
2026-03-20 10:21:55 -07:00
2026-10-07 14:12:31 -07:00
2026-10-01 21:07:27 -07:00
2026-04-23 13:31:11 -07:00
2026-04-09 20:12:31 -07:00
2026-05-30 02:02:42 -07:00
2026-04-24 12:53:56 -07:00
2026-06-29 17:29:05 -07:00
2024-10-22 09:46:48 -07:00
2025-11-12 11:39:51 -08:00
2026-03-20 10:21:55 -07:00
2026-08-05 10:36:30 -07:00
2026-06-29 18:38:01 -07:00
2026-05-05 00:46:37 -07:00
2026-10-07 10:42:50 -07:00
2026-05-04 07:35:56 -07:00
2026-03-12 02:15:42 -07:00
2026-04-23 13:31:11 -07:00
2026-09-24 18:31:50 -07:00
2026-10-02 07:58:02 -07:00
2026-07-31 07:49:57 -07:00
2026-07-31 07:49:57 -07:00
2026-10-01 10:36:44 -07:00
2026-10-01 10:36:44 -07:00
2026-10-01 10:36:44 -07:00
2026-10-01 10:36:44 -07:00
2026-07-17 11:14:42 -07:00
2026-09-03 09:56:13 -07:00
2026-03-20 10:21:55 -07:00
2026-09-14 21:26:48 -07:00
2026-06-29 17:29:05 -07:00
2026-07-16 12:09:45 -07:00
2026-07-17 10:20:42 -07:00
2026-09-04 15:27:56 -07:00
2024-10-22 09:46:48 -07:00
2026-09-10 20:05:56 -07:00
2026-09-24 12:35:28 -07:00
2026-09-16 17:55:51 -07:00
2026-09-10 09:32:36 -07:00
2026-02-09 01:19:35 -08:00
2026-02-09 01:19:35 -08:00
2026-09-10 09:32:36 -07:00
2026-05-01 09:55:55 -07:00
2026-04-09 04:19:54 -07:00
2026-10-07 13:10:01 -07:00
2026-03-20 10:21:55 -07:00
2026-04-10 17:59:30 -07:00
2026-09-25 13:47:19 -07:00
2026-09-17 13:34:43 -07:00
2026-07-17 10:20:42 -07:00
2026-10-02 22:30:24 -07:00
2026-10-02 22:30:24 -07:00
2026-04-03 15:08:59 -07:00
2026-09-18 10:15:10 -07:00
2026-09-04 10:02:36 -07:00
2026-06-29 17:29:05 -07:00
2026-07-27 09:25:51 -07:00
2026-03-20 10:21:55 -07:00
2026-03-20 10:21:55 -07:00
2024-10-22 09:46:48 -07:00
2026-09-15 14:42:20 -07:00
2026-06-29 17:29:05 -07:00
2026-09-14 13:03:13 -07:00
2026-06-29 17:29:05 -07:00
2026-07-17 10:20:42 -07:00