Set version to v0.52.0#1056
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Rust workspace and in-repo crate versions for the DiskANN v0.52.0 release.
Changes:
- Bump
[workspace.package]version to0.52.0. - Update workspace path dependency versions for the DiskANN crates to
0.52.0. - Regenerate
Cargo.lockto reflect the new workspace crate versions.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Cargo.toml | Bumps workspace/package version and updates workspace dependency versions to 0.52.0. |
| Cargo.lock | Updates lockfile entries for in-repo DiskANN crates to 0.52.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
harsha-simhadri
approved these changes
May 12, 2026
arkrishn94
approved these changes
May 12, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1056 +/- ##
=======================================
Coverage 89.51% 89.51%
=======================================
Files 461 461
Lines 85920 85920
=======================================
Hits 76909 76909
Misses 9011 9011
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
suri-kumkaran
approved these changes
May 12, 2026
JordanMaples
approved these changes
May 12, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
DiskANN v0.52.0 Release Notes
Breaking Changes
An AI generated, human reviewed list of changes is summarized below.
get_degree_statssignature changed (#998)DiskANNIndex::get_degree_statsnow takes an explicit iterator of IDs instead of requiring the data provider to implementIntoIterator.PQ dimension contract tightened; entries now
&[f32]only (#1044)With
AlignedBoxWithSliceremoved from the PQ path, the dimension handling has been refactored into a three-layer contract:QueryComputer::new,MultiQueryComputer::new,DistanceComputer::evaluate_similaritylen == dim(returnsErron mismatch)PQScratch::setlen >= dim, slices to[..dim]TableL2/IP/Cosine::{new, populate}Other changes:
&[f32]instead of<U: Into<f32>>. Callers must pre-decode quantized vectors viaVectorRepr::as_f32.&Vec<u8>,&&[u8]) onQueryComputer/DistanceComputerhave been removed.calculate_chunk_offsetsrelocated toChunkOffsetsconstructors (#976)The free functions
calculate_chunk_offsetsandcalculate_chunk_offsets_autohave been moved into constructors onChunkOffsets/ChunkOffsetsViewindiskann-quantization::views.Additionally,
get_chunk_from_training_datahas been moved from public API.CachingProviderremoved (#1052)The entire
diskann_providers::model::graph::provider::async_::cachingmodule has been deleted.Why: The
CachingProviderwas an experiment in transparent caching overDataProvider. In practice it required double monomorphization of the indexing code, didn't save integration work for bulk methods likeon_elements_unordered/distances_unordered, and was complex to maintain. An internal user who …migrated off it removed ~1,000 lines of code, improved compile times by ~20%, and substantially reduced complexity.Upgrade: Manage caching directly in your
DataProviderimplementation.New Features
AVX-512 4-bit distance kernels (#1045)
Native V4 (AVX-512) specializations for 4-bit packed vector distance computations:
SquaredL2— 16 ×u32lanes per iteration via_mm512_madd_epi16.InnerProduct— AVX-512 VNNI (_mm512_dpbusd_epi32) overu8x64/i8x64operands.Previously, V4 hardware fell back to two AVX2 (V3) kernel invocations per 512-bit chunk. The native kernels double per-instruction throughput. No API changes — existing code benefits automatically on AVX-512 capable hardware.
Merged PRs
Map::prepare. by @hildebrandmw in Add a fast path toMap::prepare. #1023rayonas a dependency ofdiskann. by @hildebrandmw in [deps] Don't pullrayonas a dependency ofdiskann. #1024calculate_chunk_offsets*by @arkrishn94 in [PQ Cleanup] Part 2: Consolidatecalculate_chunk_offsets*#976New Contributors
Full Changelog: v0.51.0...v0.52.0