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 test for external modules #3699

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdouze
Copy link
Contributor

@mdouze mdouze commented Jul 29, 2024

Summary:
External modules should work fine as plug-ins to Faiss in the following cases:

  • additional objects that can be passed in as callbacks to Faiss

  • functions that use faiss.swig_ptr to pass in arrays.

The swig_ptr functionality does not always work well (also depending on the platform). Therefore this diff adds a small external swig file to test that everything works smoothly on that end.

Differential Revision: D60379753

@facebook-github-bot
Copy link
Contributor

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

mdouze added a commit to mdouze/faiss that referenced this pull request Jul 29, 2024
Summary:

External modules should work fine as plug-ins to Faiss in the following cases:

* additional objects that can be passed in as callbacks to Faiss

* functions that use `faiss.swig_ptr` to pass in arrays.

The `swig_ptr` functionality does not always work well (also depending on the platform). Therefore this diff adds a small external swig file to test that everything works smoothly on that end.

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

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

mdouze added a commit to mdouze/faiss that referenced this pull request Aug 30, 2024
Summary:
Pull Request resolved: facebookresearch#3699

External modules should work fine as plug-ins to Faiss in the following cases:

* additional objects that can be passed in as callbacks to Faiss

* functions that use `faiss.swig_ptr` to pass in arrays.

The `swig_ptr` functionality does not always work well (also depending on the platform). Therefore this diff adds a small external swig file to test that everything works smoothly on that end.

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

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

@mdouze mdouze mentioned this pull request Sep 20, 2024
mdouze added a commit to mdouze/faiss that referenced this pull request Oct 1, 2024
Summary:

External modules should work fine as plug-ins to Faiss in the following cases:

* additional objects that can be passed in as callbacks to Faiss

* functions that use `faiss.swig_ptr` to pass in arrays.

The `swig_ptr` functionality does not always work well (also depending on the platform). Therefore this diff adds a small external swig file to test that everything works smoothly on that end.

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

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

mdouze added a commit to mdouze/faiss that referenced this pull request Oct 1, 2024
Summary:
Pull Request resolved: facebookresearch#3699

External modules should work fine as plug-ins to Faiss in the following cases:

* additional objects that can be passed in as callbacks to Faiss

* functions that use `faiss.swig_ptr` to pass in arrays.

The `swig_ptr` functionality does not always work well (also depending on the platform). Therefore this diff adds a small external swig file to test that everything works smoothly on that end.

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

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

Summary:
Pull Request resolved: facebookresearch#3699

External modules should work fine as plug-ins to Faiss in the following cases:

* additional objects that can be passed in as callbacks to Faiss

* functions that use `faiss.swig_ptr` to pass in arrays.

The `swig_ptr` functionality does not always work well (also depending on the platform). Therefore this diff adds a small external swig file to test that everything works smoothly on that end.

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

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

mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 7, 2024
Summary:
We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 7, 2024
…acebookresearch#3922)

Summary:

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 7, 2024
…acebookresearch#3922)

Summary:

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 8, 2024
…acebookresearch#3922)

Summary:

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 8, 2024
…acebookresearch#3922)

Summary:

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 8, 2024
…acebookresearch#3922)

Summary:

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 10, 2024
…acebookresearch#3922)

Summary:

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
mnorris11 pushed a commit to mnorris11/faiss that referenced this pull request Oct 10, 2024
…acebookresearch#3922)

Summary:

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Differential Revision: D63991471
facebook-github-bot pushed a commit that referenced this pull request Oct 11, 2024
…3922)

Summary:
Pull Request resolved: #3922

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: #3699

Reviewed By: mdouze

Differential Revision: D63991471

fbshipit-source-id: 0c1cd25eabbffb01d2a7170d6725a0c4a13c5bf0
aalekhpatel07 pushed a commit to aalekhpatel07/faiss that referenced this pull request Oct 17, 2024
…acebookresearch#3922)

Summary:
Pull Request resolved: facebookresearch#3922

We need to be able to build external modules into FAISS, but don't have an example yet. This diff shows what CMakeLists.txt changes need to happen to incorporate an external module.

Reference: facebookresearch#3699

Reviewed By: mdouze

Differential Revision: D63991471

fbshipit-source-id: 0c1cd25eabbffb01d2a7170d6725a0c4a13c5bf0
@mnorris11
Copy link

Hi @mdouze should we close this one since it is merged in #3981 ?

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