Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences
C++ algoliadatastoreelasticsearchenterprise-searchfacetingfull-text-searchfuzzy-searchgeosearchin-memoryinstantsearchmerchandisingpineconesearchsearch-enginesemantic-searchsimilarity-searchsite-searchsynonymstypo-tolerancevector-search
Check presense of shared generic onnx lib
ozanarmagan8692486269b6
diff --git a/src/text_embedder.cpp b/src/text_embedder.cppindex d4bd5471..b2adeda5 100644--- a/src/text_embedder.cpp+++ b/src/text_embedder.cpp@@ -14,10 +14,10 @@ TextEmbedder::TextEmbedder(const std::string& model_name) {for(auto& provider : providers) {if(provider == "CUDAExecutionProvider") {- // check existence of cuda- void* handle = dlopen("libcudnn.so", RTLD_NOW | RTLD_GLOBAL);+ // check existence of shared lib+ void* handle = dlopen("libonnxruntime_providers_shared.so", RTLD_NOW | RTLD_GLOBAL);if(!handle) {- LOG(ERROR) << "Error loading CUDA: " << dlerror();+ LOG(INFO) << "ONNX shared libs: off";continue;}