Skip to content

Conversation

mfixman
Copy link

@mfixman mfixman commented Jun 21, 2024

The current version of Faiss cannot be built due to missing #includes on a test file tests/test_ivf_index.cpp. This is better described in issue #3532.

This adds the missing imports.

@facebook-github-bot
Copy link
Contributor

Hi @mfixman!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@facebook-github-bot
Copy link
Contributor

@junjieqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@@ -12,6 +12,8 @@
#include <cstring>
#include <map>
#include <random>
#include <set>
#include <algorithm>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about removing algorithm? I don't see where we use it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used in a std::find call in this file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mfixman, I think you are right. I'm wondering if you could put #include in between #include <omp.h> and #include . The format doesn't pass. Once you fix it, I could merge it

@facebook-github-bot
Copy link
Contributor

@junjieqi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot pushed a commit that referenced this pull request Jul 1, 2024
Summary:
The current version of Faiss cannot be built due to missing `#include`s on a test file `tests/test_ivf_index.cpp`. This is better described in issue [https://github.com/facebookresearch/faiss/issues/3532](https://github.com/facebookresearch/faiss/issues/3532).

This adds the missing imports.


Reviewed By: asadoughi

Differential Revision: D58899187

Pulled By: junjieqi
facebook-github-bot pushed a commit that referenced this pull request Jul 3, 2024
Summary:
The current version of Faiss cannot be built due to missing #includes on a test file tests/test_ivf_index.cpp. This is better described in issue #3532.


#3533

Differential Revision: D59314273
junjieqi added a commit that referenced this pull request Jul 3, 2024
Summary:
Pull Request resolved: #3609

The current version of Faiss cannot be built due to missing #includes on a test file tests/test_ivf_index.cpp. This is better described in issue #3532.

#3533

Differential Revision: D59314273
facebook-github-bot pushed a commit that referenced this pull request Jul 3, 2024
Summary:
Pull Request resolved: #3609

The current version of Faiss cannot be built due to missing #includes on a test file tests/test_ivf_index.cpp. This is better described in issue #3532.

#3533

Reviewed By: ramilbakhshyiev

Differential Revision: D59314273

fbshipit-source-id: 6ec8bfa973760d0a44bc94ae751b4fc55c4784ef
@junjieqi
Copy link
Contributor

junjieqi commented Jul 3, 2024

fixed

@junjieqi junjieqi closed this Jul 3, 2024
abhinavdangeti pushed a commit to blevesearch/faiss that referenced this pull request Jul 12, 2024
…earch#3609)

Summary:
Pull Request resolved: facebookresearch#3609

The current version of Faiss cannot be built due to missing #includes on a test file tests/test_ivf_index.cpp. This is better described in issue facebookresearch#3532.

facebookresearch#3533

Reviewed By: ramilbakhshyiev

Differential Revision: D59314273

fbshipit-source-id: 6ec8bfa973760d0a44bc94ae751b4fc55c4784ef
ketor pushed a commit to dingodb/faiss that referenced this pull request Aug 20, 2024
…earch#3609)

Summary:
Pull Request resolved: facebookresearch#3609

The current version of Faiss cannot be built due to missing #includes on a test file tests/test_ivf_index.cpp. This is better described in issue facebookresearch#3532.

facebookresearch#3533

Reviewed By: ramilbakhshyiev

Differential Revision: D59314273

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

4 participants