Commit Graph

6 Commits (da20af4ca5cf7e077270f7443bd1a01c7db2cbb0)

Author SHA1 Message Date
Mengdi Lin 501a8be55c more refactor and add encode/decode steps to benchmark (#3825)
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3825

- previously, there is 1 benchmark that measures the reconstruction error and then measures the performance of the distance computation for the scalar quantizer. Split it up into distance benchmark and accuracy benchmark.
- add performance benchmarks for encode and decode as well
- refactor the benchmarks to accept `n` and `d` as command line arguments. We run the benchmarks with `n` = 2000 and `d` = 128 to start. Happy to expand it to d=`256` and a higher `n` if we think it's better.
- refactor the targets file so we can create servicelab experiments based on different parameters

Planning to use the benchmarks here to test my simd refactor changes (and expand the benchmarks when necessary).

Reviewed By: mnorris11

Differential Revision: D62049857

fbshipit-source-id: 7e4cbfe27af6da09616b2e7c82d77480c8ddecd6
2024-09-03 13:56:59 -07:00
chasingegg 6218111233 Fix some typos (#3056)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3056

Reviewed By: pemazare

Differential Revision: D49617607

Pulled By: mlomeli1

fbshipit-source-id: b2d5df67e88e029882e697597af9f3fc8fe1e64c
2023-09-27 03:17:41 -07:00
Patrick Somaru 578fbc9a8e faiss 6bit benchmark config (#2329)
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/2329

Reviewed By: beauby

Differential Revision: D36003967

fbshipit-source-id: 1167d028477ab6f42fe8d3cfd2f198c274c0fe9a
2022-05-17 05:19:54 -07:00
Lucas Hosseini 7c9d979d66 Enable servicelab regression testing.
Summary:
Start migration of existing benchmarks to Google's Benchmark library + register benchmark to servicelab.

The benchmark should be automatically registered to servicelab once this diff lands according to https://www.internalfb.com/intern/wiki/ServiceLab/Use_Cases/Benchmarks_(C++)/#servicelab-job.

Reviewed By: mdouze

Differential Revision: D35397782

fbshipit-source-id: 317db2527f12ddde0631cacc3085c634afdd0e37
2022-04-07 02:45:55 -07:00
Lucas Hosseini e86bf8cae1 Enable clang-format + autofix.
Summary: Format whole codebase with clang-format.

Reviewed By: mdouze

Differential Revision: D22891341

fbshipit-source-id: 673032b2444d61026d1e2c3fa2c5659f178cf58b
2021-02-25 04:46:10 -08:00
Lucas Hosseini cd38e82f0c
Facebook sync 2020-07-31 (#1308) 2020-08-03 22:15:02 +02:00