You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<description>The package includes Windows x64 libraries
13
+
14
+
The goal of the project is to build scalable, performant and cost-effective approximate nearest neighbor search algorithms. This release has the code from the DiskANN paper published in NeurIPS 2019, and improvements. This code reuses and builds upon some of the code for NSG algorithm.</description>
15
+
<copyright>Copyright (c) Microsoft Corporation</copyright>
16
+
<tags>DiskANN ANNS ANN nearest neighbor vector search</tags>
@@ -616,26 +608,24 @@ template <> diskann::Distance<uint8_t> *get_distance_function(diskann::Metric m)
616
608
if (m == diskann::Metric::L2)
617
609
{
618
610
#ifdef _WINDOWS
619
-
diskann::cout << "WARNING: AVX/AVX2 distance function not defined for Uint8. Using "
620
-
"slow version. "
621
-
"Contact gopalsr@microsoft.com if you need AVX/AVX2 support."
622
-
<< std::endl;
611
+
Log(logging::Warning,
612
+
"Index",
613
+
"WARNING: AVX/AVX2 distance function not defined for Uint8. Using slow version. Contact gopalsr@microsoft.com if you need AVX/AVX2 support.");
623
614
#endif
624
615
returnnewdiskann::DistanceL2UInt8();
625
616
}
626
617
elseif (m == diskann::Metric::COSINE)
627
618
{
628
-
diskann::cout << "AVX/AVX2 distance function not defined for Uint8. Using "
629
-
"slow version SlowDistanceCosineUint8() "
630
-
"Contact gopalsr@microsoft.com if you need AVX/AVX2 support."
631
-
<< std::endl;
619
+
Log(logging::Warning,
620
+
"Index",
621
+
"AVX/AVX2 distance function not defined for Uint8. Using slow version SlowDistanceCosineUint8(). Contact gopalsr@microsoft.com if you need AVX/AVX2 support.");
632
622
returnnewdiskann::SlowDistanceCosineUInt8();
633
623
}
634
624
else
635
625
{
636
626
std::stringstream stream;
637
627
stream << "Only L2 and cosine supported for unsigned byte vectors." << std::endl;
0 commit comments