-
Notifications
You must be signed in to change notification settings - Fork 128
Instantiate only specific RAFT reduction kernels #925
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
Merged
Merged
Changes from 11 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
aa8bc1f
building changes
divyegala 029b942
Merge remote-tracking branch 'upstream/branch-25.08' into raft-reduce
divyegala 3c59a4c
pin raft
divyegala 46532ac
faiss patch
divyegala a10d7df
Merge remote-tracking branch 'upstream/branch-25.08' into raft-reduce
divyegala a64613d
always print binary size in mb
divyegala 1975ac9
correct linux command
divyegala a7717d4
Merge branch 'branch-25.08' into raft-reduce
cjnolet b9e5e26
Merge branch 'branch-25.08' into raft-reduce
divyegala 2cad1f9
Merge branch 'branch-25.08' into raft-reduce
divyegala fc81f09
fix
divyegala d04a99c
revert raft pins
divyegala bea54d2
Merge branch 'branch-25.08' into raft-reduce
divyegala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
diff --git a/faiss/gpu/impl/CuvsIVFFlat.cu b/faiss/gpu/impl/CuvsIVFFlat.cu | ||
index 2cccee860..c4cb13f48 100644 | ||
--- a/faiss/gpu/impl/CuvsIVFFlat.cu | ||
+++ b/faiss/gpu/impl/CuvsIVFFlat.cu | ||
@@ -427,13 +427,11 @@ void CuvsIVFFlat::copyInvertedListsFrom(const InvertedLists* ivf) { | ||
// Precompute the centers vector norms for L2Expanded distance | ||
if (this->metric_ == faiss::METRIC_L2) { | ||
cuvs_index->allocate_center_norms(raft_handle); | ||
- raft::linalg::rowNorm( | ||
+ raft::linalg::rowNorm<raft::linalg::L2Norm, true>( | ||
cuvs_index->center_norms().value().data_handle(), | ||
cuvs_index->centers().data_handle(), | ||
cuvs_index->dim(), | ||
(uint32_t)nlist, | ||
- raft::linalg::L2Norm, | ||
- true, | ||
raft_handle.get_stream()); | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.