Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0a6bb16
Add packed bitwise Jaccard support to CAGRA and NN-descent
allenwu9999 Nov 13, 2026
d6626be
popc-word-level
aamijar Nov 15, 2026
42033e4
uint32 for each word and raft device prims
aamijar Nov 15, 2026
d9d8725
Merge branch 'release/26.12' into jaccard-distance-cagra
aamijar Nov 15, 2026
56658df
use only uint8 internally
aamijar Nov 15, 2026
ce6dea3
gtest use metric in ann_cagra harness
aamijar Nov 16, 2026
b20d6f9
remove multi-partition gtest in favor of ann_cagra.cuh
aamijar Nov 16, 2026
a916cbc
remove unecessary gtest, jaccard metric doesn't precompute anything
aamijar Nov 16, 2026
c4a4240
consolidate gtests
aamijar Nov 16, 2026
4ee2956
consolidate python tests
aamijar Nov 16, 2026
8ebef6c
remove python test
aamijar Nov 16, 2026
38d7aea
refactor multi-partition
aamijar Nov 16, 2026
bec3106
fix CI issues
aamijar Nov 16, 2026
856d5fe
Merge branch 'release/26.12' into jaccard-distance-cagra
aamijar Nov 16, 2026
baa1016
only uint8 support
aamijar Nov 16, 2026
ecbc8d0
clean comments
aamijar Nov 16, 2026
1b1e416
Remove padding check
allenwu9999 Nov 19, 2026
2ee1bf9
Merge remote-tracking branch 'upstream/release/26.12' into jaccard-di…
allenwu9999 Nov 19, 2026
415276a
Simplify dispatch, skip team sum, and lower GPU reservation
allenwu9999 Nov 20, 2026
20c19e3
Match JSON config to runtime dispatch
allenwu9999 Nov 23, 2026
4263a44
Merge remote-tracking branch 'upstream/release/26.12' into jaccard-di…
allenwu9999 Nov 23, 2026
da852ca
Merge branch 'release/26.12' into jaccard-distance-cagra
aamijar Nov 24, 2026
1571eac
fix style
aamijar Nov 24, 2026
ada8f37
Merge branch 'release/26.12' into jaccard-distance-cagra
aamijar Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'release/26.12' into jaccard-distance-cagra
  • Loading branch information
aamijar committed Nov 24, 2026
commit ada8f37838ff6d62a8e2d600c8848a659274f056
20 changes: 20 additions & 0 deletions cpp/tests/neighbors/ann_cagra.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,16 @@ class AnnCagraIndexFilteredMergeTest : public ::testing::TestWithParam<AnnCagraI
GTEST_SKIP();
}
}
// GPiPNN needs strictly more rows than the output degree, an even dimension, and contiguous
// rows, and supports only L2 and cosine. These fixtures build from a CAGRA-padded view, so a
// `dim` that is not already row-aligned for `DataT` reaches it with a padded stride.
if (ps.build_algo == graph_build_algo::GPIPNN &&
(ps.n_rows <= ps.graph_degree || ps.dim % 2 != 0 ||
cuvs::neighbors::cagra_required_row_width<DataT>(static_cast<uint32_t>(ps.dim)) !=
static_cast<uint32_t>(ps.dim) ||
(ps.metric != cuvs::distance::DistanceType::L2Expanded &&
ps.metric != cuvs::distance::DistanceType::CosineExpanded)))
GTEST_SKIP();
// Packed bitwise metrics require uint8_t search and a non-IVF-PQ builder.
if ((ps.metric == cuvs::distance::DistanceType::BitwiseHamming ||
ps.metric == cuvs::distance::DistanceType::BitwiseJaccard) &&
Expand Down Expand Up @@ -1490,6 +1500,16 @@ class AnnCagraIndexMergeTest : public ::testing::TestWithParam<AnnCagraInputs> {
GTEST_SKIP();
}
}
// GPiPNN needs strictly more rows than the output degree, an even dimension, and contiguous
// rows, and supports only L2 and cosine. These fixtures build from a CAGRA-padded view, so a
// `dim` that is not already row-aligned for `DataT` reaches it with a padded stride.
if (ps.build_algo == graph_build_algo::GPIPNN &&
(ps.n_rows <= ps.graph_degree || ps.dim % 2 != 0 ||
cuvs::neighbors::cagra_required_row_width<DataT>(static_cast<uint32_t>(ps.dim)) !=
static_cast<uint32_t>(ps.dim) ||
(ps.metric != cuvs::distance::DistanceType::L2Expanded &&
ps.metric != cuvs::distance::DistanceType::CosineExpanded)))
GTEST_SKIP();
// Packed bitwise metrics require uint8_t search and a non-IVF-PQ builder.
if ((ps.metric == cuvs::distance::DistanceType::BitwiseHamming ||
ps.metric == cuvs::distance::DistanceType::BitwiseJaccard) &&
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.