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

First attempt at LSH matching with nbits #3679

Closed

Conversation

bshethmeta
Copy link
Contributor

Summary:
T195237796 Claims we should be able to incldue nbits in the LSH factory string.

Their example is:

index = faiss.index_factory(128, 'LSH16rt')
Returns the following error.
faiss/index_factory.cpp:880: could not parse index string LSHrt_16

This is my first attempt at modifying the regex to accept an integer for nbits. Can an expert help me understand what the domain of accepted strings should be so I can modify the regex as necessary?

Differential Revision: D60054776

@facebook-github-bot
Copy link
Contributor

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

Summary:
Pull Request resolved: facebookresearch#3679

T195237796 Claims we should be able to incldue nbits in the LSH factory string.

Their example is:

```
index = faiss.index_factory(128, 'LSH16rt')
Returns the following error.
faiss/index_factory.cpp:880: could not parse index string LSHrt_16
```

This is my first attempt at modifying the regex to accept an integer for nbits. Can an expert help me understand what the domain of accepted strings should be so I can modify the regex as necessary?

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in aed7b0e.

ketor pushed a commit to dingodb/faiss that referenced this pull request Aug 20, 2024
Summary:
Pull Request resolved: facebookresearch#3679

T195237796 Claims we should be able to incldue nbits in the LSH factory string.

Their example is:

```
index = faiss.index_factory(128, 'LSH16rt')
Returns the following error.
faiss/index_factory.cpp:880: could not parse index string LSHrt_16
```

This is my first attempt at modifying the regex to accept an integer for nbits. Can an expert help me understand what the domain of accepted strings should be so I can modify the regex as necessary?

Reviewed By: ramilbakhshyiev

Differential Revision: D60054776

fbshipit-source-id: e47074eb9986b7c1c702832fc0bf758f60f45290
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.

None yet

2 participants