Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 0 additions & 5 deletions vortex-tensor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,3 @@ rand = { workspace = true }
rand_distr = { workspace = true }
rstest = { workspace = true }
vortex-btrblocks = { path = "../vortex-btrblocks" }

[[bench]]
name = "similarity_search"
harness = false
test = false
108 changes: 0 additions & 108 deletions vortex-tensor/benches/similarity_search.rs

This file was deleted.

256 changes: 0 additions & 256 deletions vortex-tensor/benches/similarity_search_common/mod.rs

This file was deleted.

8 changes: 8 additions & 0 deletions vortex-tensor/public-api.lock
Original file line number Diff line number Diff line change
Expand Up @@ -550,4 +550,12 @@ impl core::marker::Copy for vortex_tensor::vector::VectorMatcherMetadata

impl core::marker::StructuralPartialEq for vortex_tensor::vector::VectorMatcherMetadata

pub mod vortex_tensor::vector_search

pub fn vortex_tensor::vector_search::build_constant_query_vector<T: vortex_array::dtype::ptype::NativePType + core::convert::Into<vortex_array::scalar::typed_view::primitive::pvalue::PValue>>(query: &[T], num_rows: usize) -> vortex_error::VortexResult<vortex_array::array::erased::ArrayRef>

pub fn vortex_tensor::vector_search::build_similarity_search_tree<T: vortex_array::dtype::ptype::NativePType + core::convert::Into<vortex_array::scalar::typed_view::primitive::pvalue::PValue>>(data: vortex_array::array::erased::ArrayRef, query: &[T], threshold: T) -> vortex_error::VortexResult<vortex_array::array::erased::ArrayRef>

pub fn vortex_tensor::vector_search::compress_turboquant(data: vortex_array::array::erased::ArrayRef, ctx: &mut vortex_array::executor::ExecutionCtx) -> vortex_error::VortexResult<vortex_array::array::erased::ArrayRef>

pub fn vortex_tensor::initialize(session: &vortex_session::VortexSession)
2 changes: 2 additions & 0 deletions vortex-tensor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pub mod vector;

pub mod encodings;

pub mod vector_search;

mod utils;

/// Initialize the Vortex tensor library with a Vortex session.
Expand Down
Loading
Loading