Skip to content

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

Merged
cwlacewe merged 10 commits intodevelopfrom
222-upgrade-faiss-version
Jan 27, 2025
Merged

Update faiss version in both Dockerfiles and any required API updates#251
cwlacewe merged 10 commits intodevelopfrom
222-upgrade-faiss-version

Conversation

@cwlacewe
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
Contributor

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

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

@github-actions
Copy link
Copy Markdown
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%

@github-actions
Copy link
Copy Markdown
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%

@github-actions
Copy link
Copy Markdown
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%

@github-actions
Copy link
Copy Markdown
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%

@github-actions
Copy link
Copy Markdown
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%

@github-actions
Copy link
Copy Markdown
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%

@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

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

@github-actions
Copy link
Copy Markdown
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 keirafadams January 27, 2025 17:11
Copy link
Copy Markdown
Contributor

@keirafadams keirafadams 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.

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
Copy Markdown
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
Copy Markdown
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
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