Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reverse factory string util, add StringIOReader, add centralized JK #3879

Closed
wants to merge 1 commit into from

Conversation

mnorris11
Copy link

Summary:

  1. Adds JK faiss/telemetry:use_faiss_telemetry_core to the top level logging util in wrapper_logging_utils.h. This is currently set to false. I plan to deprecate the other knobs under https://www.internalfb.com/intern/justknobs/?name=faiss%2Ftelemetry and just use one, as Unicorn can't really have their own JK easily (they subclass a lot of FAISS classes too).
  2. Copied StringIOReader from Unicorn to telemetry wrapper in io.h. This will be deleted from Unicorn in the follow up diff.
  3. Updated Laser tests to reflect correct index_read factory string changes.
  4. Adds reverse_index_factory. More tests for it in subsequent diff.

Differential Revision: D62670316

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62670316

mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Sep 21, 2024
…JK (facebookresearch#3879)

Summary:

1. Adds JK `faiss/telemetry:use_faiss_telemetry_core` to the top level logging util in `wrapper_logging_utils.h`. This is currently set to false. I plan to deprecate the other knobs under https://www.internalfb.com/intern/justknobs/?name=faiss%2Ftelemetry and just use one, as Unicorn can't really have their own JK easily (they subclass a lot of FAISS classes too).
2. Copied StringIOReader from Unicorn to telemetry wrapper in `io.h`. This will be deleted from Unicorn in the follow up diff.
3. Updated Laser tests to reflect correct index_read factory string changes.
4. Adds reverse_index_factory. More tests for it in subsequent diff.

Differential Revision: D62670316
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62670316

mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Sep 21, 2024
…JK (facebookresearch#3879)

Summary:

1. Adds JK `faiss/telemetry:use_faiss_telemetry_core` to the top level logging util in `wrapper_logging_utils.h`. This is currently set to false. I plan to deprecate the other knobs under https://www.internalfb.com/intern/justknobs/?name=faiss%2Ftelemetry and just use one, as Unicorn can't really have their own JK easily (they subclass a lot of FAISS classes too).
2. Copied StringIOReader from Unicorn to telemetry wrapper in `io.h`. This will be deleted from Unicorn in the follow up diff.
3. Updated Laser tests to reflect correct index_read factory string changes.
4. Adds reverse_index_factory. More tests for it in subsequent diff.

Reviewed By: junjieqi

Differential Revision: D62670316
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62670316

…JK (facebookresearch#3879)

Summary:

1. Adds JK `faiss/telemetry:use_faiss_telemetry_core` to the top level logging util in `wrapper_logging_utils.h`. This is currently set to false. I plan to deprecate the other knobs under https://www.internalfb.com/intern/justknobs/?name=faiss%2Ftelemetry and just use one, as Unicorn can't really have their own JK easily (they subclass a lot of FAISS classes too).
2. Copied StringIOReader from Unicorn to telemetry wrapper in `io.h`. This will be deleted from Unicorn in the follow up diff.
3. Updated Laser tests to reflect correct index_read factory string changes.
4. Adds reverse_index_factory. More tests for it in subsequent diff.

Reviewed By: junjieqi

Differential Revision: D62670316
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62670316

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0660b23.

@mnorris11 mnorris11 deleted the export-D62670316 branch September 23, 2024 18:09
aalekhpatel07 pushed a commit to aalekhpatel07/faiss that referenced this pull request Oct 17, 2024
…JK (facebookresearch#3879)

Summary:
Pull Request resolved: facebookresearch#3879

1. Adds JK `faiss/telemetry:use_faiss_telemetry_core` to the top level logging util in `wrapper_logging_utils.h`. This is currently set to false. I plan to deprecate the other knobs under https://www.internalfb.com/intern/justknobs/?name=faiss%2Ftelemetry and just use one, as Unicorn can't really have their own JK easily (they subclass a lot of FAISS classes too).
2. Copied StringIOReader from Unicorn to telemetry wrapper in `io.h`. This will be deleted from Unicorn in the follow up diff.
3. Updated Laser tests to reflect correct index_read factory string changes.
4. Adds reverse_index_factory. More tests for it in subsequent diff.

Reviewed By: junjieqi

Differential Revision: D62670316

fbshipit-source-id: de1b2ed385593bb43798d29d16d90407920a3251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants