Skip to content

Commit

Permalink
fix raft log spew
Browse files Browse the repository at this point in the history
Summary: Remove debugging log lines

Reviewed By: mlomeli1

Differential Revision: D56626636

fbshipit-source-id: 2721b84e4e1359d1372df2b2c95cc668c6a75c3f
  • Loading branch information
algoriddle authored and facebook-github-bot committed Apr 26, 2024
1 parent bd22c93 commit 5cbff67
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions faiss/gpu/GpuDistance.cu
Expand Up @@ -327,7 +327,7 @@ void bfKnn(GpuResourcesProvider* prov, const GpuDistanceParams& args) {
int64_t,
raft::col_major>>
index_vec = {index.view()};
RAFT_LOG_INFO("Invoking flat bfknn");

brute_force::knn(
handle,
index_vec,
Expand All @@ -354,10 +354,7 @@ void bfKnn(GpuResourcesProvider* prov, const GpuDistanceParams& args) {
[] __device__(const float& a) { return powf(a, 2); });
}

RAFT_LOG_INFO("Done.");

handle.sync_stream();
RAFT_LOG_INFO("All synced.");
} else
#else
if (should_use_raft(args)) {
Expand Down

0 comments on commit 5cbff67

Please sign in to comment.