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
4 changes: 2 additions & 2 deletions cpp/src/neighbors/detail/cagra/cagra_build.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -769,14 +769,14 @@ index<T, IdxT> build(

cagra_graph = raft::make_host_matrix<IdxT, int64_t>(dataset.extent(0), graph_degree);

RAFT_LOG_INFO("optimizing graph");
RAFT_LOG_TRACE("optimizing graph");
optimize<IdxT>(res, knn_graph->view(), cagra_graph.view(), params.guarantee_connectivity);

// free intermediate graph before trying to create the index
knn_graph.reset();
}

RAFT_LOG_INFO("Graph optimized, creating index");
RAFT_LOG_TRACE("Graph optimized, creating index");

// Construct an index from dataset and optimized knn graph.
if (params.compression.has_value()) {
Expand Down
4 changes: 2 additions & 2 deletions cpp/src/neighbors/detail/cagra/cagra_serialize.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023-2024, NVIDIA CORPORATION.
* Copyright (c) 2023-2025, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -74,7 +74,7 @@ void serialize(raft::resources const& res,

raft::serialize_scalar(res, os, include_dataset);
if (include_dataset) {
RAFT_LOG_INFO("Saving CAGRA index with dataset");
RAFT_LOG_DEBUG("Saving CAGRA index with dataset");
neighbors::detail::serialize(res, os, index_.data());
} else {
RAFT_LOG_DEBUG("Saving CAGRA index WITHOUT dataset");
Expand Down