Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zilliztech/knowhere
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cd3637e9cdccf6057370498e874246f650733041
Choose a base ref
..
head repository: zilliztech/knowhere
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1c4a180f5a0cb90289e1fcfeb940131ab47f7848
Choose a head ref
Showing with 1 addition and 2 deletions.
  1. +1 −1 knowhere/index/vector_index/IndexDiskANN.cpp
  2. +0 −1 thirdparty/DiskANN/src/pq_flash_index.cpp
2 changes: 1 addition & 1 deletion knowhere/index/vector_index/IndexDiskANN.cpp
Original file line number Diff line number Diff line change
@@ -312,7 +312,7 @@ IndexDiskANN<T>::Prepare(const Config& config) {
return false;
}
} else {
auto aysnc_pool_ = ThreadPool::GetGlobalThreadPool();
auto aysnc_pool_ = ThreadPool::GetGlobalAsyncThreadPool();

pq_flash_index_->setup_cache_sync_task();
aysnc_pool_->push([&, cache_num = num_nodes_to_cache,
1 change: 0 additions & 1 deletion thirdparty/DiskANN/src/pq_flash_index.cpp
Original file line number Diff line number Diff line change
@@ -367,7 +367,6 @@ namespace diskann {
this->node_visit_counter.shrink_to_fit();
this->search_counter.store(0);

diskann::aligned_free(samples);
this->load_cache_list(node_list);
auto e = std::chrono::high_resolution_clock::now();
std::chrono::duration<double> diff = e - s;