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

Update faiss version in both Dockerfiles and any required API updates #251

Merged
merged 10 commits into from
Jan 27, 2025

Conversation

cwlacewe
Copy link
Contributor

@cwlacewe cwlacewe commented Nov 6, 2024

Closes #222

Updating Faiss from v1.7.4 to v1.9.0
Add any necessary API updates

@cwlacewe cwlacewe linked an issue Nov 6, 2024 that may be closed by this pull request
@cwlacewe cwlacewe added this to the v2.11.0 Tasks milestone Nov 6, 2024
Copy link
Contributor

github-actions bot commented Nov 7, 2024

Target CPP Coverage: 64.1637%
Source CPP Coverage: 64.1637%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

@cwlacewe cwlacewe changed the title Update faiss version in both Dockerfiles Update faiss version in both Dockerfiles and any required API updates Nov 13, 2024
Copy link
Contributor

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1609%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1421%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1323%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1519%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1421%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1323%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1421%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

Copy link
Contributor

github-actions bot commented Dec 4, 2024

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1421%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

@cwlacewe
Copy link
Contributor Author

@s-gobriel, code changes look good to me. You can mark as Ready to review and get Keira to approve and merge.

Copy link
Contributor

Target CPP Coverage: 64.1609%
Source CPP Coverage: 64.1421%

Target Python Coverage: 98.02%
Source Python Coverage: 98.02%

@s-gobriel s-gobriel marked this pull request as ready for review January 27, 2025 17:07
@cwlacewe cwlacewe requested a review from ifadams January 27, 2025 17:11
Copy link
Contributor

@ifadams ifadams left a comment

Choose a reason for hiding this comment

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

Nothing leaping out at me, only one comment is some magic numbers we might want to take care of, but I dont think that should block merging given this was hanging around a bit on accident.

@@ -391,6 +391,9 @@ FaissHNSWFlatDescriptorSet::FaissHNSWFlatDescriptorSet(
if (metric == L2) {
_index = new faiss::IndexHNSWFlat(dim, hnsw_M, faiss::METRIC_L2);
((faiss::IndexHNSWFlat *)_index)->hnsw.efConstruction = 96;
} else if (metric == IP) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Magic Numbers, not going to block review but do we want to flag for moving to named var/constant?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should be fixed in #263

@cwlacewe cwlacewe merged commit 4b42654 into develop Jan 27, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade FAISS version
4 participants