Skip to content

Commit 804abfc

Browse files
author
Jordan Maples
committed
format
1 parent b757485 commit 804abfc

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

diskann-benchmark/src/index/bftree/full_precision_streaming.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,10 @@ where
231231
fn bftree_streaming<T>(
232232
input: &BfTreeDynamicRun,
233233
max_points: usize,
234-
) -> anyhow::Result<(bigann::WithData<T, u32, Managed<T, StreamStats>>, BfTreeFPIndex<T>)>
234+
) -> anyhow::Result<(
235+
bigann::WithData<T, u32, Managed<T, StreamStats>>,
236+
BfTreeFPIndex<T>,
237+
)>
235238
where
236239
T: bytemuck::Pod + VectorRepr + WithApproximateNorm + SampleableForStart,
237240
{

diskann-benchmark/src/index/bftree/spherical_streaming.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ impl Benchmark for StreamingSpherical {
236236
fn bftree_sq_streaming_impl(
237237
input: &BfTreeSphericalDynamicRun,
238238
max_points: usize,
239-
) -> anyhow::Result<(bigann::WithData<f32, u32, Managed<f32, StreamStats>>, BfTreeSQIndex)> {
239+
) -> anyhow::Result<(
240+
bigann::WithData<f32, u32, Managed<f32, StreamStats>>,
241+
BfTreeSQIndex,
242+
)> {
240243
let topk = match input.search_phase() {
241244
SearchPhase::Topk(topk) => topk,
242245
_ => anyhow::bail!("Only TopK is currently supported by the streaming index"),

0 commit comments

Comments
 (0)