Skip to content

add test for external modules#3699

Closed
mdouze wants to merge 1 commit intofacebookresearch:mainfrom
mdouze:export-D60379753
Closed

add test for external modules#3699
mdouze wants to merge 1 commit intofacebookresearch:mainfrom
mdouze:export-D60379753

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
@mdouze mdouze force-pushed the export-D60379753 branch from 31bdf3b to 06e9c92 Compare July 29, 2024 12:47
@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
@mnorris11
Copy link

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

@junjieqi junjieqi closed this Nov 25, 2024
samanthawaters8882michaeldonovan added a commit to samanthawaters8882michaeldonovan/faiss that referenced this pull request Oct 12, 2025
…#3922)

Summary:
Pull Request resolved: facebookresearch/faiss#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/faiss#3699

Reviewed By: mdouze

Differential Revision: D63991471

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

5 participants